| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 ] | 152 ] |
| 153 } | 153 } |
| 154 | 154 |
| 155 if (use_nss_certs) { | 155 if (use_nss_certs) { |
| 156 grit_defines += [ | 156 grit_defines += [ |
| 157 "-D", | 157 "-D", |
| 158 "use_nss_certs", | 158 "use_nss_certs", |
| 159 ] | 159 ] |
| 160 } | 160 } |
| 161 | 161 |
| 162 if (use_nss_verifier) { | |
| 163 grit_defines += [ | |
| 164 "-D", | |
| 165 "use_nss_verifier", | |
| 166 ] | |
| 167 } | |
| 168 | |
| 169 if (use_ozone) { | 162 if (use_ozone) { |
| 170 grit_defines += [ | 163 grit_defines += [ |
| 171 "-D", | 164 "-D", |
| 172 "use_ozone", | 165 "use_ozone", |
| 173 ] | 166 ] |
| 174 } | 167 } |
| 175 | 168 |
| 176 if (enable_image_loader_extension) { | 169 if (enable_image_loader_extension) { |
| 177 grit_defines += [ | 170 grit_defines += [ |
| 178 "-D", | 171 "-D", |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 if (defined(invoker.configs)) { | 498 if (defined(invoker.configs)) { |
| 506 configs += invoker.configs | 499 configs += invoker.configs |
| 507 } | 500 } |
| 508 | 501 |
| 509 if (defined(invoker.visibility)) { | 502 if (defined(invoker.visibility)) { |
| 510 visibility = invoker.visibility | 503 visibility = invoker.visibility |
| 511 } | 504 } |
| 512 output_name = grit_output_name | 505 output_name = grit_output_name |
| 513 } | 506 } |
| 514 } | 507 } |
| OLD | NEW |