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

Unified Diff: chrome/renderer/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/common/BUILD.gn ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/BUILD.gn
diff --git a/chrome/renderer/BUILD.gn b/chrome/renderer/BUILD.gn
index 0c568b8936b234e4f60c5e4bba0dcb0c7b6488cb..2f4190315c3e53e413517e4cef29d45d935c7f2c 100644
--- a/chrome/renderer/BUILD.gn
+++ b/chrome/renderer/BUILD.gn
@@ -130,11 +130,11 @@ static_library("renderer") {
deps += [ "//third_party/hunspell" ]
}
- if (printing_mode > 0) {
+ if (enable_basic_printing || enable_print_preview) {
deps += [ "//printing" ]
sources += rebase_path(gypi_values.chrome_renderer_printing_sources,
".", "..")
- if (printing_mode == 1) {
+ if (enable_print_preview) {
sources += rebase_path(gypi_values.chrome_renderer_full_printing_sources,
".", "..")
}
@@ -181,10 +181,10 @@ source_set("test_support") {
"//testing/gtest",
]
- if (printing_mode == 1) {
+ if (enable_print_preview) {
deps += [ "//chrome/service" ]
}
- if (printing_mode != 0) {
+ if (enable_basic_printing || enable_print_preview) {
sources += [
"printing/mock_printer.cc",
"printing/mock_printer.h",
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698