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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 ] | 234 ] |
235 } | 235 } |
236 if (is_win) { | 236 if (is_win) { |
237 grit_defines += [ | 237 grit_defines += [ |
238 "-t", | 238 "-t", |
239 "win32", | 239 "win32", |
240 ] | 240 ] |
241 } | 241 } |
242 } | 242 } |
243 | 243 |
244 if (enable_extensions) { | |
245 grit_defines += [ | |
246 "-D", | |
247 "enable_extensions", | |
248 ] | |
249 } | |
250 if (enable_media_router) { | 244 if (enable_media_router) { |
251 grit_defines += [ | 245 grit_defines += [ |
252 "-D", | 246 "-D", |
253 "enable_media_router", | 247 "enable_media_router", |
254 ] | 248 ] |
255 } | 249 } |
256 if (enable_plugins) { | 250 if (enable_plugins) { |
257 grit_defines += [ | 251 grit_defines += [ |
258 "-D", | 252 "-D", |
259 "enable_plugins", | 253 "enable_plugins", |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 if (defined(invoker.configs)) { | 515 if (defined(invoker.configs)) { |
522 configs += invoker.configs | 516 configs += invoker.configs |
523 } | 517 } |
524 | 518 |
525 if (defined(invoker.visibility)) { | 519 if (defined(invoker.visibility)) { |
526 visibility = invoker.visibility | 520 visibility = invoker.visibility |
527 } | 521 } |
528 output_name = grit_output_name | 522 output_name = grit_output_name |
529 } | 523 } |
530 } | 524 } |
OLD | NEW |