| 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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 7 import("//build/config/zip.gni") | 7 import("//build/config/zip.gni") |
| 8 import("//third_party/ijar/ijar.gni") | 8 import("//third_party/ijar/ijar.gni") |
| 9 | 9 |
| 10 assert(is_android) | 10 assert(is_android) |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 "--package-name", | 482 "--package-name", |
| 483 invoker.custom_package, | 483 invoker.custom_package, |
| 484 ] | 484 ] |
| 485 } | 485 } |
| 486 if (defined(invoker.r_text)) { | 486 if (defined(invoker.r_text)) { |
| 487 args += [ | 487 args += [ |
| 488 "--r-text", | 488 "--r-text", |
| 489 rebase_path(invoker.r_text, root_build_dir), | 489 rebase_path(invoker.r_text, root_build_dir), |
| 490 ] | 490 ] |
| 491 } | 491 } |
| 492 if (defined(invoker.is_locale_resource) && invoker.is_locale_resource) { |
| 493 args += [ "--is-locale-resource" ] |
| 494 } |
| 495 if (defined(invoker.has_alternative_locale_resource) && |
| 496 invoker.has_alternative_locale_resource) { |
| 497 args += [ "--has-alternative-locale-resource" ] |
| 498 } |
| 492 } | 499 } |
| 493 | 500 |
| 494 if (is_apk) { | 501 if (is_apk) { |
| 495 if (defined(invoker.native_libs)) { | 502 if (defined(invoker.native_libs)) { |
| 496 inputs += invoker.native_libs | 503 inputs += invoker.native_libs |
| 497 rebased_native_libs = rebase_path(invoker.native_libs, root_build_dir) | 504 rebased_native_libs = rebase_path(invoker.native_libs, root_build_dir) |
| 498 rebased_android_readelf = rebase_path(android_readelf, root_build_dir) | 505 rebased_android_readelf = rebase_path(android_readelf, root_build_dir) |
| 499 args += [ | 506 args += [ |
| 500 "--native-libs=$rebased_native_libs", | 507 "--native-libs=$rebased_native_libs", |
| 501 "--readelf-path=$rebased_android_readelf", | 508 "--readelf-path=$rebased_android_readelf", |
| (...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2017 ] | 2024 ] |
| 2018 args = [ | 2025 args = [ |
| 2019 "--depfile", | 2026 "--depfile", |
| 2020 rebase_path(depfile, root_build_dir), | 2027 rebase_path(depfile, root_build_dir), |
| 2021 "--script-output-path", | 2028 "--script-output-path", |
| 2022 rebase_path(generated_script, root_build_dir), | 2029 rebase_path(generated_script, root_build_dir), |
| 2023 ] | 2030 ] |
| 2024 args += test_runner_args | 2031 args += test_runner_args |
| 2025 } | 2032 } |
| 2026 } | 2033 } |
| OLD | NEW |