| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 ] | 161 ] |
| 162 } | 162 } |
| 163 | 163 |
| 164 if (enable_image_loader_extension) { | 164 if (enable_image_loader_extension) { |
| 165 grit_defines += [ | 165 grit_defines += [ |
| 166 "-D", | 166 "-D", |
| 167 "image_loader_extension", | 167 "image_loader_extension", |
| 168 ] | 168 ] |
| 169 } | 169 } |
| 170 | 170 |
| 171 if (enable_remoting) { | |
| 172 grit_defines += [ | |
| 173 "-D", | |
| 174 "remoting", | |
| 175 ] | |
| 176 } | |
| 177 | |
| 178 if (is_android) { | 171 if (is_android) { |
| 179 grit_defines += [ | 172 grit_defines += [ |
| 180 "-t", | 173 "-t", |
| 181 "android", | 174 "android", |
| 182 "-E", | 175 "-E", |
| 183 "ANDROID_JAVA_TAGGED_ONLY=true", | 176 "ANDROID_JAVA_TAGGED_ONLY=true", |
| 184 ] | 177 ] |
| 185 } | 178 } |
| 186 | 179 |
| 187 if (is_mac || is_ios) { | 180 if (is_mac || is_ios) { |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 if (defined(invoker.configs)) { | 467 if (defined(invoker.configs)) { |
| 475 configs += invoker.configs | 468 configs += invoker.configs |
| 476 } | 469 } |
| 477 | 470 |
| 478 if (defined(invoker.visibility)) { | 471 if (defined(invoker.visibility)) { |
| 479 visibility = invoker.visibility | 472 visibility = invoker.visibility |
| 480 } | 473 } |
| 481 output_name = grit_output_name | 474 output_name = grit_output_name |
| 482 } | 475 } |
| 483 } | 476 } |
| OLD | NEW |