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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 "-D", | 256 "-D", |
257 "enable_themes", | 257 "enable_themes", |
258 ] | 258 ] |
259 } | 259 } |
260 if (enable_app_list) { | 260 if (enable_app_list) { |
261 grit_defines += [ | 261 grit_defines += [ |
262 "-D", | 262 "-D", |
263 "enable_app_list", | 263 "enable_app_list", |
264 ] | 264 ] |
265 } | 265 } |
266 if (enable_settings_app) { | |
267 grit_defines += [ | |
268 "-D", | |
269 "enable_settings_app", | |
270 ] | |
271 } | |
272 if (enable_webrtc) { | 266 if (enable_webrtc) { |
273 grit_defines += [ | 267 grit_defines += [ |
274 "-D", | 268 "-D", |
275 "enable_webrtc", | 269 "enable_webrtc", |
276 ] | 270 ] |
277 } | 271 } |
278 if (enable_hangout_services_extension) { | 272 if (enable_hangout_services_extension) { |
279 grit_defines += [ | 273 grit_defines += [ |
280 "-D", | 274 "-D", |
281 "enable_hangout_services_extension", | 275 "enable_hangout_services_extension", |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 if (defined(invoker.configs)) { | 486 if (defined(invoker.configs)) { |
493 configs += invoker.configs | 487 configs += invoker.configs |
494 } | 488 } |
495 | 489 |
496 if (defined(invoker.visibility)) { | 490 if (defined(invoker.visibility)) { |
497 visibility = invoker.visibility | 491 visibility = invoker.visibility |
498 } | 492 } |
499 output_name = grit_output_name | 493 output_name = grit_output_name |
500 } | 494 } |
501 } | 495 } |
OLD | NEW |