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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 } | 432 } |
433 if (requires_android) { | 433 if (requires_android) { |
434 args += [ "--requires-android" ] | 434 args += [ "--requires-android" ] |
435 } | 435 } |
436 if (defined(invoker.bypass_platform_checks) && | 436 if (defined(invoker.bypass_platform_checks) && |
437 invoker.bypass_platform_checks) { | 437 invoker.bypass_platform_checks) { |
438 args += [ "--bypass-platform-checks" ] | 438 args += [ "--bypass-platform-checks" ] |
439 } | 439 } |
440 | 440 |
441 if (defined(invoker.apk_under_test)) { | 441 if (defined(invoker.apk_under_test)) { |
442 deps += [ invoker.apk_under_test ] | 442 deps += [ "${invoker.apk_under_test}__build_config" ] |
443 apk_under_test_gen_dir = | 443 apk_under_test_gen_dir = |
444 get_label_info(invoker.apk_under_test, "target_gen_dir") | 444 get_label_info(invoker.apk_under_test, "target_gen_dir") |
445 apk_under_test_name = get_label_info(invoker.apk_under_test, "name") | 445 apk_under_test_name = get_label_info(invoker.apk_under_test, "name") |
446 apk_under_test_config = | 446 apk_under_test_config = |
447 "$apk_under_test_gen_dir/$apk_under_test_name.build_config" | 447 "$apk_under_test_gen_dir/$apk_under_test_name.build_config" |
448 args += [ | 448 args += [ |
449 "--tested-apk-config", | 449 "--tested-apk-config", |
450 rebase_path(apk_under_test_config, root_build_dir), | 450 rebase_path(apk_under_test_config, root_build_dir), |
451 ] | 451 ] |
452 } | 452 } |
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2114 ] | 2114 ] |
2115 args = [ | 2115 args = [ |
2116 "--depfile", | 2116 "--depfile", |
2117 rebase_path(depfile, root_build_dir), | 2117 rebase_path(depfile, root_build_dir), |
2118 "--script-output-path", | 2118 "--script-output-path", |
2119 rebase_path(generated_script, root_build_dir), | 2119 rebase_path(generated_script, root_build_dir), |
2120 ] | 2120 ] |
2121 args += test_runner_args | 2121 args += test_runner_args |
2122 } | 2122 } |
2123 } | 2123 } |
OLD | NEW |