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

Unified Diff: chrome/common/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 13:48:51 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
« no previous file with comments | « chrome/chrome_utility.gypi ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index a6a37e975cb9153a359cb3c03887858198d73f76..8167270fe79fd1da71c8a042a161e38e42a22301 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -145,14 +145,14 @@ static_library("common") {
}
# Printing.
- if (printing_mode == 0) {
+ if (!enable_basic_printing && !enable_print_preview) {
sources -= [
"print_messages.cc",
"print_messages.h",
]
} else {
deps += [ "//printing" ]
- if (printing_mode == 1) {
+ if (enable_print_preview) {
# Full printing support.
sources += rebase_path(
gypi_values.chrome_common_service_process_sources,
« no previous file with comments | « chrome/chrome_utility.gypi ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698