| 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 | |
| 254 if (enable_webrtc) { | 247 if (enable_webrtc) { |
| 255 grit_defines += [ | 248 grit_defines += [ |
| 256 "-D", | 249 "-D", |
| 257 "enable_webrtc", | 250 "enable_webrtc", |
| 258 ] | 251 ] |
| 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", |
| (...skipping 216 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 |