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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 grit_defines += [ | 242 grit_defines += [ |
243 "-D", | 243 "-D", |
244 "enable_settings_app", | 244 "enable_settings_app", |
245 ] | 245 ] |
246 } | 246 } |
247 if (enable_webrtc) { | 247 if (enable_webrtc) { |
248 grit_defines += [ | 248 grit_defines += [ |
249 "-D", | 249 "-D", |
250 "enable_webrtc", | 250 "enable_webrtc", |
251 ] | 251 ] |
252 import("//third_party/webrtc/build/webrtc.gni") | |
253 if (rtc_use_h264) { | |
254 grit_defines += [ | |
255 "-D", | |
256 "rtc_use_h264", | |
257 ] | |
258 } | |
259 } | 252 } |
260 if (enable_hangout_services_extension) { | 253 if (enable_hangout_services_extension) { |
261 grit_defines += [ | 254 grit_defines += [ |
262 "-D", | 255 "-D", |
263 "enable_hangout_services_extension", | 256 "enable_hangout_services_extension", |
264 ] | 257 ] |
265 } | 258 } |
266 if (enable_task_manager) { | 259 if (enable_task_manager) { |
267 grit_defines += [ | 260 grit_defines += [ |
268 "-D", | 261 "-D", |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 if (defined(invoker.configs)) { | 473 if (defined(invoker.configs)) { |
481 configs += invoker.configs | 474 configs += invoker.configs |
482 } | 475 } |
483 | 476 |
484 if (defined(invoker.visibility)) { | 477 if (defined(invoker.visibility)) { |
485 visibility = invoker.visibility | 478 visibility = invoker.visibility |
486 } | 479 } |
487 output_name = grit_output_name | 480 output_name = grit_output_name |
488 } | 481 } |
489 } | 482 } |
OLD | NEW |