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)'], |
}], |