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

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

Issue 1926673002: 👀 Make sure Android GN instrumentation test targets expose a _run alias (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | 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("//base/android/linker/config.gni") 5 import("//base/android/linker/config.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/internal_rules.gni") 7 import("//build/config/android/internal_rules.gni")
8 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 import("//build/toolchain/toolchain.gni") 9 import("//build/toolchain/toolchain.gni")
10 import("//third_party/android_platform/config.gni") 10 import("//third_party/android_platform/config.gni")
(...skipping 2037 matching lines...) Expand 10 before | Expand all | Expand 10 after
2048 ":$_apk_target_name", 2048 ":$_apk_target_name",
2049 ":$_test_runner_target_name", 2049 ":$_test_runner_target_name",
2050 2050
2051 # Required by test runner to enumerate test list. 2051 # Required by test runner to enumerate test list.
2052 ":${_apk_target_name}_dist_ijar", 2052 ":${_apk_target_name}_dist_ijar",
2053 ] 2053 ]
2054 if (defined(invoker.apk_under_test)) { 2054 if (defined(invoker.apk_under_test)) {
2055 public_deps += [ invoker.apk_under_test ] 2055 public_deps += [ invoker.apk_under_test ]
2056 } 2056 }
2057 } 2057 }
2058
2059 # TODO(GYP): Delete once recipes no longer use this target.
2060 group("${target_name}_run") {
2061 public_deps = [
2062 ":${invoker.target_name}",
jbudorick 2016/04/27 15:13:46 I'm assuming this gets the right target name (i.e.
agrieve 2016/04/27 15:25:37 it does :)
2063 ]
2064 }
2058 group("${target_name}_incremental") { 2065 group("${target_name}_incremental") {
2059 public_deps = [ 2066 public_deps = [
2060 ":${_apk_target_name}_dist_ijar", 2067 ":${_apk_target_name}_dist_ijar",
2061 ":${_apk_target_name}_incremental", 2068 ":${_apk_target_name}_incremental",
2062 ":${_test_runner_target_name}_incremental", 2069 ":${_test_runner_target_name}_incremental",
2063 ] 2070 ]
2064 if (defined(invoker.apk_under_test)) { 2071 if (defined(invoker.apk_under_test)) {
2065 public_deps += [ "${invoker.apk_under_test}_incremental" ] 2072 public_deps += [ "${invoker.apk_under_test}_incremental" ]
2066 } 2073 }
2067 } 2074 }
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
2406 "--target", 2413 "--target",
2407 rebase_path(invoker.target, root_build_dir), 2414 rebase_path(invoker.target, root_build_dir),
2408 "--output-directory", 2415 "--output-directory",
2409 rebase_path(root_out_dir, root_build_dir), 2416 rebase_path(root_out_dir, root_build_dir),
2410 ] 2417 ]
2411 if (defined(invoker.flag_name)) { 2418 if (defined(invoker.flag_name)) {
2412 args += [ "--flag-name=${invoker.flag_name}" ] 2419 args += [ "--flag-name=${invoker.flag_name}" ]
2413 } 2420 }
2414 } 2421 }
2415 } 2422 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698