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 |
162 if (use_ozone) { | 169 if (use_ozone) { |
163 grit_defines += [ | 170 grit_defines += [ |
164 "-D", | 171 "-D", |
165 "use_ozone", | 172 "use_ozone", |
166 ] | 173 ] |
167 } | 174 } |
168 | 175 |
169 if (enable_image_loader_extension) { | 176 if (enable_image_loader_extension) { |
170 grit_defines += [ | 177 grit_defines += [ |
171 "-D", | 178 "-D", |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 if (defined(invoker.configs)) { | 480 if (defined(invoker.configs)) { |
474 configs += invoker.configs | 481 configs += invoker.configs |
475 } | 482 } |
476 | 483 |
477 if (defined(invoker.visibility)) { | 484 if (defined(invoker.visibility)) { |
478 visibility = invoker.visibility | 485 visibility = invoker.visibility |
479 } | 486 } |
480 output_name = grit_output_name | 487 output_name = grit_output_name |
481 } | 488 } |
482 } | 489 } |
OLD | NEW |