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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 "-D", | 282 "-D", |
283 "enable_app_list", | 283 "enable_app_list", |
284 ] | 284 ] |
285 } | 285 } |
286 if (enable_webrtc) { | 286 if (enable_webrtc) { |
287 grit_defines += [ | 287 grit_defines += [ |
288 "-D", | 288 "-D", |
289 "enable_webrtc", | 289 "enable_webrtc", |
290 ] | 290 ] |
291 } | 291 } |
292 if (enable_hangout_services_extension) { | |
293 grit_defines += [ | |
294 "-D", | |
295 "enable_hangout_services_extension", | |
296 ] | |
297 } | |
298 if (enable_task_manager) { | 292 if (enable_task_manager) { |
299 grit_defines += [ | 293 grit_defines += [ |
300 "-D", | 294 "-D", |
301 "enable_task_manager", | 295 "enable_task_manager", |
302 ] | 296 ] |
303 } | 297 } |
304 if (enable_notifications) { | 298 if (enable_notifications) { |
305 grit_defines += [ | 299 grit_defines += [ |
306 "-D", | 300 "-D", |
307 "enable_notifications", | 301 "enable_notifications", |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 if (defined(invoker.configs)) { | 539 if (defined(invoker.configs)) { |
546 configs += invoker.configs | 540 configs += invoker.configs |
547 } | 541 } |
548 | 542 |
549 if (defined(invoker.visibility)) { | 543 if (defined(invoker.visibility)) { |
550 visibility = invoker.visibility | 544 visibility = invoker.visibility |
551 } | 545 } |
552 output_name = grit_output_name | 546 output_name = grit_output_name |
553 } | 547 } |
554 } | 548 } |
OLD | NEW |