| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 ] | 123 ] |
| 124 } | 124 } |
| 125 | 125 |
| 126 if (use_aura) { | 126 if (use_aura) { |
| 127 grit_defines += [ | 127 grit_defines += [ |
| 128 "-D", | 128 "-D", |
| 129 "use_aura", | 129 "use_aura", |
| 130 ] | 130 ] |
| 131 } | 131 } |
| 132 | 132 |
| 133 if (use_ash) { | |
| 134 grit_defines += [ | |
| 135 "-D", | |
| 136 "use_ash", | |
| 137 ] | |
| 138 } | |
| 139 | |
| 140 if (use_nss_certs) { | 133 if (use_nss_certs) { |
| 141 grit_defines += [ | 134 grit_defines += [ |
| 142 "-D", | 135 "-D", |
| 143 "use_nss_certs", | 136 "use_nss_certs", |
| 144 ] | 137 ] |
| 145 } | 138 } |
| 146 | 139 |
| 147 if (use_ozone) { | 140 if (use_ozone) { |
| 148 grit_defines += [ | 141 grit_defines += [ |
| 149 "-D", | 142 "-D", |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 if (defined(invoker.configs)) { | 337 if (defined(invoker.configs)) { |
| 345 configs += invoker.configs | 338 configs += invoker.configs |
| 346 } | 339 } |
| 347 | 340 |
| 348 if (defined(invoker.visibility)) { | 341 if (defined(invoker.visibility)) { |
| 349 visibility = invoker.visibility | 342 visibility = invoker.visibility |
| 350 } | 343 } |
| 351 output_name = grit_output_name | 344 output_name = grit_output_name |
| 352 } | 345 } |
| 353 } | 346 } |
| OLD | NEW |