| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 ] | 233 ] |
| 234 } | 234 } |
| 235 } | 235 } |
| 236 | 236 |
| 237 if (enable_media_router) { | 237 if (enable_media_router) { |
| 238 grit_defines += [ | 238 grit_defines += [ |
| 239 "-D", | 239 "-D", |
| 240 "enable_media_router", | 240 "enable_media_router", |
| 241 ] | 241 ] |
| 242 } | 242 } |
| 243 if (enable_plugins) { | |
| 244 grit_defines += [ | |
| 245 "-D", | |
| 246 "enable_plugins", | |
| 247 ] | |
| 248 } | |
| 249 if (enable_themes) { | 243 if (enable_themes) { |
| 250 grit_defines += [ | 244 grit_defines += [ |
| 251 "-D", | 245 "-D", |
| 252 "enable_themes", | 246 "enable_themes", |
| 253 ] | 247 ] |
| 254 } | 248 } |
| 255 if (enable_webrtc) { | 249 if (enable_webrtc) { |
| 256 grit_defines += [ | 250 grit_defines += [ |
| 257 "-D", | 251 "-D", |
| 258 "enable_webrtc", | 252 "enable_webrtc", |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 if (defined(invoker.configs)) { | 502 if (defined(invoker.configs)) { |
| 509 configs += invoker.configs | 503 configs += invoker.configs |
| 510 } | 504 } |
| 511 | 505 |
| 512 if (defined(invoker.visibility)) { | 506 if (defined(invoker.visibility)) { |
| 513 visibility = invoker.visibility | 507 visibility = invoker.visibility |
| 514 } | 508 } |
| 515 output_name = grit_output_name | 509 output_name = grit_output_name |
| 516 } | 510 } |
| 517 } | 511 } |
| OLD | NEW |