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

Side by Side Diff: tools/grit/grit_rule.gni

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge Created 4 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 | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | 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 # Instantiate grit. This will produce a script target to run grit, and a 5 # Instantiate grit. This will produce a script target to run grit, and a
6 # static library that compiles the .cc files. 6 # static library that compiles the .cc files.
7 # 7 #
8 # Parameters 8 # Parameters
9 # 9 #
10 # source (required) 10 # source (required)
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 "-D", 252 "-D",
253 "enable_media_router", 253 "enable_media_router",
254 ] 254 ]
255 } 255 }
256 if (enable_plugins) { 256 if (enable_plugins) {
257 grit_defines += [ 257 grit_defines += [
258 "-D", 258 "-D",
259 "enable_plugins", 259 "enable_plugins",
260 ] 260 ]
261 } 261 }
262 if (enable_basic_printing || enable_print_preview) {
263 grit_defines += [
264 "-D",
265 "enable_printing",
266 ]
267 if (enable_print_preview) {
268 grit_defines += [
269 "-D",
270 "enable_print_preview",
271 ]
272 }
273 }
274 if (enable_themes) { 262 if (enable_themes) {
275 grit_defines += [ 263 grit_defines += [
276 "-D", 264 "-D",
277 "enable_themes", 265 "enable_themes",
278 ] 266 ]
279 } 267 }
280 if (enable_webrtc) { 268 if (enable_webrtc) {
281 grit_defines += [ 269 grit_defines += [
282 "-D", 270 "-D",
283 "enable_webrtc", 271 "enable_webrtc",
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 if (defined(invoker.configs)) { 521 if (defined(invoker.configs)) {
534 configs += invoker.configs 522 configs += invoker.configs
535 } 523 }
536 524
537 if (defined(invoker.visibility)) { 525 if (defined(invoker.visibility)) {
538 visibility = invoker.visibility 526 visibility = invoker.visibility
539 } 527 }
540 output_name = grit_output_name 528 output_name = grit_output_name
541 } 529 }
542 } 530 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698