OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |