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

Unified Diff: build/config/BUILD.gn

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/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 3f3506b7bd4acba871e6c36b17acaea95875cc0e..3a7d06931f5a026f3413466d7f2aa5647f5ea1b7 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -54,9 +54,12 @@ config("feature_flags") {
if (enable_plugins) {
defines += [ "ENABLE_PLUGINS=1" ]
}
- if (printing_mode > 0) {
- defines += [ "ENABLE_PRINTING=1", "ENABLE_BASIC_PRINTING=1" ]
- if (printing_mode < 2) {
+ if (enable_basic_printing || enable_print_preview) {
+ defines += [ "ENABLE_PRINTING=1" ]
+ if (enable_basic_printing) {
+ defines += [ "ENABLE_BASIC_PRINTING=1" ]
+ }
+ if (enable_print_preview) {
defines += [ "ENABLE_PRINT_PREVIEW=1" ]
}
}

Powered by Google App Engine
This is Rietveld 408576698