Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4222)

Unified Diff: build/config/features.gni

Issue 702023002: Renamed enable_printing and printing_mode in *.gyp* and .*gn* files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Nov 5 03:20:34 PST 2014 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/config/features.gni
diff --git a/build/config/features.gni b/build/config/features.gni
index 49fe155254c1558284f9fc49f4570af1b36f3e82..87f5cd6248968ac1158cb5680c286f1e939081b4 100644
--- a/build/config/features.gni
+++ b/build/config/features.gni
@@ -63,15 +63,9 @@ 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 printing support and UI.
+enable_basic_printing = true
+enable_print_preview = !is_android
# The seccomp-bpf sandbox is only supported on three architectures
# currently.

Powered by Google App Engine
This is Rietveld 408576698