16f459228b
Co-authored-by: Samuel Attard <sattard@salesforce.com> Co-authored-by: VerteDinde <vertedinde@electronjs.org> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: Jeremy Rose <jeremya@chromium.org>
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: VerteDinde <vertedinde@electronjs.org>
|
|
Date: Sun, 1 May 2022 18:01:42 -0700
|
|
Subject: build: disable print_content_analysis
|
|
|
|
Print Content Analysis enables enterprise users to scan to-be-printed
|
|
pages and documents for sensitive data if the OnPrintEnterpriseConnector
|
|
policy is enabled. A conversation with the Chromium team confirmed
|
|
this feature was intended for enterprise Chrome users and not embedders,
|
|
so we're disabling it to prevent build issues/additional unneeded files.
|
|
|
|
This patch can be removed when enable_print_content_analysis can be more
|
|
easily enabled or disabled by default with buildflags.
|
|
|
|
diff --git a/printing/buildflags/buildflags.gni b/printing/buildflags/buildflags.gni
|
|
index 4c7f9e2a074229f002dba786123423066b49d3bc..f2cd0d435fda91a74970c51d120687d27fa2e0e1 100644
|
|
--- a/printing/buildflags/buildflags.gni
|
|
+++ b/printing/buildflags/buildflags.gni
|
|
@@ -36,7 +36,7 @@ declare_args() {
|
|
|
|
# Enable snapshotting a page when printing for its content to be analyzed for
|
|
# sensitive content by enterprise users.
|
|
- enable_print_content_analysis = is_chromeos || is_win || is_linux || is_mac
|
|
+ enable_print_content_analysis = is_chromeos_ash || is_chromeos_lacros
|
|
}
|
|
|
|
declare_args() {
|