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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 ] | 179 ] |
180 } | 180 } |
181 | 181 |
182 if (use_ozone) { | 182 if (use_ozone) { |
183 grit_defines += [ | 183 grit_defines += [ |
184 "-D", | 184 "-D", |
185 "use_ozone", | 185 "use_ozone", |
186 ] | 186 ] |
187 } | 187 } |
188 | 188 |
189 if (enable_image_loader_extension) { | |
190 grit_defines += [ | |
191 "-D", | |
192 "image_loader_extension", | |
193 ] | |
194 } | |
195 | |
196 if (is_android) { | 189 if (is_android) { |
197 grit_defines += [ | 190 grit_defines += [ |
198 "-E", | 191 "-E", |
199 "ANDROID_JAVA_TAGGED_ONLY=true", | 192 "ANDROID_JAVA_TAGGED_ONLY=true", |
200 ] | 193 ] |
201 } | 194 } |
202 | 195 |
203 if (is_mac || is_ios) { | 196 if (is_mac || is_ios) { |
204 grit_defines += [ | 197 grit_defines += [ |
205 "-D", | 198 "-D", |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 if (defined(invoker.configs)) { | 514 if (defined(invoker.configs)) { |
522 configs += invoker.configs | 515 configs += invoker.configs |
523 } | 516 } |
524 | 517 |
525 if (defined(invoker.visibility)) { | 518 if (defined(invoker.visibility)) { |
526 visibility = invoker.visibility | 519 visibility = invoker.visibility |
527 } | 520 } |
528 output_name = grit_output_name | 521 output_name = grit_output_name |
529 } | 522 } |
530 } | 523 } |
OLD | NEW |