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

Unified Diff: build/android/test_runner.gypi

Issue 1674353004: [Android] Fix generated scripts for junit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alphabetized the gyp includes everywhere. Created 4 years, 10 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/junit/test_runner.py ('k') | build/config/android/internal_rules.gni » ('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 33b51348b07310e9376a24d6d6ca313ae0d35aff..b211995965fc95511b6389b36744b4b11272dabe 100644
--- a/build/android/test_runner.gypi
+++ b/build/android/test_runner.gypi
@@ -28,6 +28,15 @@
# 'includes': ['path/to/this/gypi/file'],
# }
#
+# {
+# 'target_name': 'junit_test',
+# 'type': 'none',
+# 'variables': {
+# 'test_type': 'junit', # string
+# },
+# 'includes': ['path/to/this/gypi/file'],
+# }
+#
{
'variables': {
@@ -55,6 +64,10 @@
}],
],
}],
+ ['test_type == "junit"', {
+ 'test_runner_args': ['--test-suite', '<(_target_name)'],
+ 'script_name': 'run_<(_target_name)',
+ }],
['additional_apks != []', {
'test_runner_args': ['--additional-apk-list', '>(additional_apks)'],
}],
« no previous file with comments | « build/android/pylib/junit/test_runner.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698