Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: build/config/android/internal_rules.gni

Issue 1702663002: Reland of Make instrumentation_test_apk depend on their apk_under_test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dist-jar
Patch Set: fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/gyp/write_build_config.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « build/android/gyp/write_build_config.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698