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

Unified Diff: build/config/android/rules.gni

Issue 1208483004: Make instrumentation test dependency on a support APK explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 9e8568e779d81c3baecf7bfe02de60f12a706646..45b57568fadf2b723e5b8b7ec65b6a33caa66d63 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -1803,6 +1803,9 @@ template("android_apk") {
# srcjar_deps: List of srcjar dependencies. The .java files in the srcjars
# will be added to java_files and be included in this apk.
# apk_name: Name for final apk.
+# support_apk_path: Path to a support apk. If present, the test runner script
+# will install it on the device before running the instrumentation tests.
+# Should be a path relative to the src root.
# final_apk_path: Path to final built apk. Default is
# $root_out_dir/apks/$apk_name.apk. Setting this will override apk_name.
# native_libs: List paths of native libraries to include in this apk. If these
@@ -1842,6 +1845,9 @@ template("instrumentation_test_apk") {
if (defined(invoker.isolate_file)) {
isolate_file = invoker.isolate_file
}
+ if (defined(invoker.support_apk_path)) {
+ support_apk_path = invoker.support_apk_path
+ }
}
}
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698