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

Unified Diff: build/android/test_runner.gypi

Issue 1208483004: Make instrumentation test dependency on a support APK explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make paths relative to the output directory 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/android/test_runner.gypi
diff --git a/build/android/test_runner.gypi b/build/android/test_runner.gypi
index 92f355bf1fb4abe73d3480f728ac5f7ecfd7665b..52ad0876c671536990a0eea8facf506e684f9021 100644
--- a/build/android/test_runner.gypi
+++ b/build/android/test_runner.gypi
@@ -33,6 +33,7 @@
'variables': {
'variables': {
'isolate_file%': '',
+ 'support_apk_name%': '',
},
'test_runner_args': ['--output-directory', '<(PRODUCT_DIR)'],
'conditions': [
@@ -43,6 +44,14 @@
['test_type == "instrumentation"', {
'test_runner_args': ['--test-apk', '<(apk_name)'],
'script_name': 'run_<(_target_name)',
+ 'conditions': [
+ ['support_apk_name != ""', {
+ 'test_runner_args': [
+ '--support-apk',
+ 'apks/<(support_apk_name).apk'
jbudorick 2015/06/25 02:59:59 You could either do this as '<(PRODUCT_DIR)/apk
+ ],
+ }],
+ ],
}],
['isolate_file != ""', {
'test_runner_args': ['--isolate-file-path', '<(isolate_file)']

Powered by Google App Engine
This is Rietveld 408576698