Index: build/config/features.gni |
diff --git a/build/config/features.gni b/build/config/features.gni |
index 49fe155254c1558284f9fc49f4570af1b36f3e82..8227ee9b0de7869109ba81eb5891ad599bdadd99 100644 |
--- a/build/config/features.gni |
+++ b/build/config/features.gni |
@@ -63,15 +63,12 @@ enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
enable_browser_cdms = is_android |
-# Enable printing support and UI. This variable is used to configure which |
-# parts of printing will be built. 0 disables printing completely, 1 enables it |
-# fully, and 2 enables only the codepath to generate a Metafile (e.g. usually |
-# a PDF or EMF) and disables print preview, cloud print, UI, etc. |
-if (is_android) { |
- printing_mode = 2 |
-} else { |
- printing_mode = 1 |
-} |
+# Enable basic printing support and UI. |
+enable_basic_printing = true |
+ |
+# Enable printing with print preview. It does not imply |
+# enable_basic_printing. It's possible to build Chrome with preview only. |
+enable_print_preview = !is_android |
# The seccomp-bpf sandbox is only supported on three architectures |
# currently. |