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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 "enable_print_preview", | 270 "enable_print_preview", |
271 ] | 271 ] |
272 } | 272 } |
273 } | 273 } |
274 if (enable_themes) { | 274 if (enable_themes) { |
275 grit_defines += [ | 275 grit_defines += [ |
276 "-D", | 276 "-D", |
277 "enable_themes", | 277 "enable_themes", |
278 ] | 278 ] |
279 } | 279 } |
280 if (enable_app_list) { | |
281 grit_defines += [ | |
282 "-D", | |
283 "enable_app_list", | |
284 ] | |
285 } | |
286 if (enable_webrtc) { | 280 if (enable_webrtc) { |
287 grit_defines += [ | 281 grit_defines += [ |
288 "-D", | 282 "-D", |
289 "enable_webrtc", | 283 "enable_webrtc", |
290 ] | 284 ] |
291 } | 285 } |
292 if (enable_task_manager) { | 286 if (enable_task_manager) { |
293 grit_defines += [ | 287 grit_defines += [ |
294 "-D", | 288 "-D", |
295 "enable_task_manager", | 289 "enable_task_manager", |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 if (defined(invoker.configs)) { | 533 if (defined(invoker.configs)) { |
540 configs += invoker.configs | 534 configs += invoker.configs |
541 } | 535 } |
542 | 536 |
543 if (defined(invoker.visibility)) { | 537 if (defined(invoker.visibility)) { |
544 visibility = invoker.visibility | 538 visibility = invoker.visibility |
545 } | 539 } |
546 output_name = grit_output_name | 540 output_name = grit_output_name |
547 } | 541 } |
548 } | 542 } |
OLD | NEW |