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 # Do not add any imports to non-//build directories here. | 5 # Do not add any imports to non-//build directories here. |
6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. | 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. |
7 import("//build_overrides/build.gni") | 7 import("//build_overrides/build.gni") |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 | 10 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 "--package-name", | 268 "--package-name", |
269 invoker.custom_package, | 269 invoker.custom_package, |
270 ] | 270 ] |
271 } | 271 } |
272 if (defined(invoker.r_text)) { | 272 if (defined(invoker.r_text)) { |
273 args += [ | 273 args += [ |
274 "--r-text", | 274 "--r-text", |
275 rebase_path(invoker.r_text, root_build_dir), | 275 rebase_path(invoker.r_text, root_build_dir), |
276 ] | 276 ] |
277 } | 277 } |
278 if (defined(invoker.is_locale_resource) && invoker.is_locale_resource) { | |
279 args += [ "--is-locale-resource" ] | |
280 } | |
281 if (defined(invoker.has_alternative_locale_resource) && | |
282 invoker.has_alternative_locale_resource) { | |
283 args += [ "--has-alternative-locale-resource" ] | |
284 } | |
285 } | 278 } |
286 | 279 |
287 if (is_android_resources && defined(invoker.resource_dirs)) { | 280 if (is_android_resources && defined(invoker.resource_dirs)) { |
288 resource_dirs = rebase_path(invoker.resource_dirs, root_build_dir) | 281 resource_dirs = rebase_path(invoker.resource_dirs, root_build_dir) |
289 args += [ "--resource-dirs=$resource_dirs" ] | 282 args += [ "--resource-dirs=$resource_dirs" ] |
290 } | 283 } |
291 | 284 |
292 if (is_apk) { | 285 if (is_apk) { |
293 if (defined(invoker.shared_libraries_runtime_deps_file)) { | 286 if (defined(invoker.shared_libraries_runtime_deps_file)) { |
294 # Don't list shared_libraries_runtime_deps_file as an input in order to | 287 # Don't list shared_libraries_runtime_deps_file as an input in order to |
(...skipping 2415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2710 rebase_path(root_build_dir, root_build_dir), | 2703 rebase_path(root_build_dir, root_build_dir), |
2711 "--packed-libraries-dir", | 2704 "--packed-libraries-dir", |
2712 rebase_path(_packed_libraries_dir, root_build_dir), | 2705 rebase_path(_packed_libraries_dir, root_build_dir), |
2713 "--libraries=${invoker.libraries_filearg}", | 2706 "--libraries=${invoker.libraries_filearg}", |
2714 "--filelistjson", | 2707 "--filelistjson", |
2715 rebase_path(invoker.file_list_json, root_build_dir), | 2708 rebase_path(invoker.file_list_json, root_build_dir), |
2716 ] | 2709 ] |
2717 } | 2710 } |
2718 } | 2711 } |
2719 } | 2712 } |
OLD | NEW |