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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 } | 434 } |
435 if (requires_android) { | 435 if (requires_android) { |
436 args += [ "--requires-android" ] | 436 args += [ "--requires-android" ] |
437 } | 437 } |
438 if (defined(invoker.bypass_platform_checks) && | 438 if (defined(invoker.bypass_platform_checks) && |
439 invoker.bypass_platform_checks) { | 439 invoker.bypass_platform_checks) { |
440 args += [ "--bypass-platform-checks" ] | 440 args += [ "--bypass-platform-checks" ] |
441 } | 441 } |
442 | 442 |
443 if (defined(invoker.apk_under_test)) { | 443 if (defined(invoker.apk_under_test)) { |
444 deps += [ invoker.apk_under_test ] | 444 deps += [ "${invoker.apk_under_test}__build_config" ] |
445 apk_under_test_gen_dir = | 445 apk_under_test_gen_dir = |
446 get_label_info(invoker.apk_under_test, "target_gen_dir") | 446 get_label_info(invoker.apk_under_test, "target_gen_dir") |
447 apk_under_test_name = get_label_info(invoker.apk_under_test, "name") | 447 apk_under_test_name = get_label_info(invoker.apk_under_test, "name") |
448 apk_under_test_config = | 448 apk_under_test_config = |
449 "$apk_under_test_gen_dir/$apk_under_test_name.build_config" | 449 "$apk_under_test_gen_dir/$apk_under_test_name.build_config" |
450 args += [ | 450 args += [ |
451 "--tested-apk-config", | 451 "--tested-apk-config", |
452 rebase_path(apk_under_test_config, root_build_dir), | 452 rebase_path(apk_under_test_config, root_build_dir), |
453 ] | 453 ] |
454 } | 454 } |
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2143 ] | 2143 ] |
2144 args = [ | 2144 args = [ |
2145 "--depfile", | 2145 "--depfile", |
2146 rebase_path(depfile, root_build_dir), | 2146 rebase_path(depfile, root_build_dir), |
2147 "--script-output-path", | 2147 "--script-output-path", |
2148 rebase_path(generated_script, root_build_dir), | 2148 rebase_path(generated_script, root_build_dir), |
2149 ] | 2149 ] |
2150 args += test_runner_args | 2150 args += test_runner_args |
2151 } | 2151 } |
2152 } | 2152 } |
OLD | NEW |