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

Unified Diff: build/config/android/internal_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: Use GYP and GN to set whether the support apk is needed Created 5 years, 6 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
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 091ee4ac2ebc7051e855c45ecba0a2fb7392d1f3..41c4bd03dc3aa00a91460a1362f6f6b3262854be 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -1514,6 +1514,12 @@ template("test_runner_script") {
"--test-apk",
invoker.test_apk,
]
+ if (defined(invoker.support_apk)) {
+ test_runner_args += [
+ "--support-apk",
+ invoker.support_apk,
+ ]
+ }
} else {
assert(false, "Invalid test type: $_test_type.")
}

Powered by Google App Engine
This is Rietveld 408576698