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

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: 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/android/pylib/instrumentation/test_package.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.gypi
diff --git a/build/android/test_runner.gypi b/build/android/test_runner.gypi
index 92f355bf1fb4abe73d3480f728ac5f7ecfd7665b..f92b7cedc0e2cd4e0b75fdcb6d5f298b26b9ac90 100644
--- a/build/android/test_runner.gypi
+++ b/build/android/test_runner.gypi
@@ -33,6 +33,7 @@
'variables': {
'variables': {
'isolate_file%': '',
+ 'support_apk_path%': '',
},
'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_path != ""', {
+ 'test_runner_args': [
+ '--support-apk',
+ '<(support_apk_path)'
+ ],
+ }],
+ ],
}],
['isolate_file != ""', {
'test_runner_args': ['--isolate-file-path', '<(isolate_file)']
« no previous file with comments | « build/android/pylib/instrumentation/test_package.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698