Chromium Code Reviews| 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") | |
|
hbos_chromium
2016/03/03 16:51:42
(For GN variable rtc_use_h264)
| |
| 253 if (rtc_use_h264) { | |
| 254 grit_defines += [ | |
| 255 "-D", | |
| 256 "rtc_use_h264", | |
| 257 ] | |
| 258 } | |
| 252 } | 259 } |
| 253 if (enable_hangout_services_extension) { | 260 if (enable_hangout_services_extension) { |
| 254 grit_defines += [ | 261 grit_defines += [ |
| 255 "-D", | 262 "-D", |
| 256 "enable_hangout_services_extension", | 263 "enable_hangout_services_extension", |
| 257 ] | 264 ] |
| 258 } | 265 } |
| 259 if (enable_task_manager) { | 266 if (enable_task_manager) { |
| 260 grit_defines += [ | 267 grit_defines += [ |
| 261 "-D", | 268 "-D", |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 473 if (defined(invoker.configs)) { | 480 if (defined(invoker.configs)) { |
| 474 configs += invoker.configs | 481 configs += invoker.configs |
| 475 } | 482 } |
| 476 | 483 |
| 477 if (defined(invoker.visibility)) { | 484 if (defined(invoker.visibility)) { |
| 478 visibility = invoker.visibility | 485 visibility = invoker.visibility |
| 479 } | 486 } |
| 480 output_name = grit_output_name | 487 output_name = grit_output_name |
| 481 } | 488 } |
| 482 } | 489 } |
| OLD | NEW |