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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 if (use_ash) { | 139 if (use_ash) { |
140 grit_defines += [ | 140 grit_defines += [ |
141 "-D", | 141 "-D", |
142 "use_ash", | 142 "use_ash", |
143 ] | 143 ] |
144 } | 144 } |
145 | 145 |
146 if (use_nss_certs) { | 146 if (use_nss_certs) { |
147 grit_defines += [ | 147 grit_defines += [ |
148 "-D", | 148 "-D", |
149 "use_nss", | 149 "use_nss_certs", |
150 ] | 150 ] |
151 } | 151 } |
152 | 152 |
153 if (use_ozone) { | 153 if (use_ozone) { |
154 grit_defines += [ | 154 grit_defines += [ |
155 "-D", | 155 "-D", |
156 "use_ozone", | 156 "use_ozone", |
157 ] | 157 ] |
158 } | 158 } |
159 | 159 |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 if (defined(invoker.configs)) { | 452 if (defined(invoker.configs)) { |
453 configs += invoker.configs | 453 configs += invoker.configs |
454 } | 454 } |
455 | 455 |
456 if (defined(invoker.visibility)) { | 456 if (defined(invoker.visibility)) { |
457 visibility = invoker.visibility | 457 visibility = invoker.visibility |
458 } | 458 } |
459 output_name = grit_output_name | 459 output_name = grit_output_name |
460 } | 460 } |
461 } | 461 } |
OLD | NEW |