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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome/chrome_utility.gypi ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 gypi_values = exec_script( 7 gypi_values = exec_script(
8 "//build/gypi_to_gn.py", 8 "//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_common.gypi") ], 9 [ rebase_path("../chrome_common.gypi") ],
10 "scope", 10 "scope",
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 ".", "//chrome") 138 ".", "//chrome")
139 } 139 }
140 140
141 if (enable_nacl) { 141 if (enable_nacl) {
142 deps += [ 142 deps += [
143 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) 143 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
144 ] 144 ]
145 } 145 }
146 146
147 # Printing. 147 # Printing.
148 if (printing_mode == 0) { 148 if (!enable_basic_printing && !enable_print_preview) {
149 sources -= [ 149 sources -= [
150 "print_messages.cc", 150 "print_messages.cc",
151 "print_messages.h", 151 "print_messages.h",
152 ] 152 ]
153 } else { 153 } else {
154 deps += [ "//printing" ] 154 deps += [ "//printing" ]
155 if (printing_mode == 1) { 155 if (enable_print_preview) {
156 # Full printing support. 156 # Full printing support.
157 sources += rebase_path( 157 sources += rebase_path(
158 gypi_values.chrome_common_service_process_sources, 158 gypi_values.chrome_common_service_process_sources,
159 ".", "//chrome") 159 ".", "//chrome")
160 } 160 }
161 } 161 }
162 162
163 if (enable_service_discovery) { 163 if (enable_service_discovery) {
164 sources += [ 164 sources += [
165 "local_discovery/service_discovery_client.cc", 165 "local_discovery/service_discovery_client.cc",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 314 }
315 315
316 if (enable_extensions) { 316 if (enable_extensions) {
317 sources += [ 317 sources += [
318 "extensions/extension_test_util.cc", 318 "extensions/extension_test_util.cc",
319 "extensions/extension_test_util.h", 319 "extensions/extension_test_util.h",
320 ] 320 ]
321 } 321 }
322 322
323 } 323 }
OLDNEW
« 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