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

Unified Diff: build/config/BUILD.gn

Issue 702603004: Renamed DISABLE_BASIC_PRINTING and ENABLE_FULL_PRINTING. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Nov 4 17:22:50 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
« build/common.gypi ('K') | « build/common.gypi ('k') | chrome/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 7fbbd5d70efbd85c6c600cbb5e86c055e150a020..f456660ad0432c0332d43495b828a37ad9dad3f5 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -55,9 +55,12 @@ config("feature_flags") {
defines += [ "ENABLE_PLUGINS=1" ]
}
if (printing_mode > 0) {
- defines += [ "ENABLE_PRINTING=1" ]
- if (printing_mode < 2) {
- defines += [ "ENABLE_FULL_PRINTING=1" ]
+ defines += [ "ENABLE_PRINTING=1"]
+ if (printing_mode == 1 or printing_mode == 3) {
+ defines += [ "ENABLE_BASIC_PRINTING=1" ]
+ }
+ if (printing_mode > 1) {
+ defines += [ "ENABLE_PRINT_PREVIEW=1" ]
}
}
if (enable_spellcheck) {
« build/common.gypi ('K') | « build/common.gypi ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698