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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 "-D", | 237 "-D", |
238 "enable_app_list", | 238 "enable_app_list", |
239 ] | 239 ] |
240 } | 240 } |
241 if (enable_settings_app) { | 241 if (enable_settings_app) { |
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_google_now) { |
| 248 grit_defines += [ |
| 249 "-D", |
| 250 "enable_google_now", |
| 251 ] |
| 252 } |
| 253 |
247 if (enable_webrtc) { | 254 if (enable_webrtc) { |
248 grit_defines += [ | 255 grit_defines += [ |
249 "-D", | 256 "-D", |
250 "enable_webrtc", | 257 "enable_webrtc", |
251 ] | 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", |
(...skipping 216 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 |