Index: webrtc/api/api_tests.gyp |
diff --git a/webrtc/api/api_tests.gyp b/webrtc/api/api_tests.gyp |
index 65bb4614744244b547240ceb0032f34b24abed11..0460a1efdcb5302c619673926aaf9728ee319c8b 100644 |
--- a/webrtc/api/api_tests.gyp |
+++ b/webrtc/api/api_tests.gyp |
@@ -151,6 +151,29 @@ |
'../../build/android/test_runner.gypi', |
], |
}, |
+ |
+ { |
+ 'target_name': 'android_junit_test', |
kjellander_webrtc
2016/05/30 08:31:53
Since it's not called api_android_junit_tests, I e
kjellander_webrtc
2016/05/30 08:31:53
Please name this android_junit_tests to conform wi
magjed_webrtc
2016/05/30 12:47:07
Done, I moved the build target to webrtc_tests.gyp
magjed_webrtc
2016/05/30 12:47:07
Done.
kjellander_webrtc
2016/05/30 12:57:28
No that stuff is only needed for tests that run on
|
+ 'type': 'none', |
+ 'dependencies': [ |
+ '<(webrtc_root)/api/api.gyp:libjingle_peerconnection_java', |
+ '<(DEPTH)/base/base.gyp:base_java', |
+ '<(DEPTH)/base/base.gyp:base_java_test_support', |
+ '<(DEPTH)/base/base.gyp:base_junit_test_support', |
+ ], |
+ 'variables': { |
+ 'main_class': 'org.chromium.testing.local.JunitTestMain', |
+ 'src_paths': [ |
+ 'androidjunit/', |
+ ], |
+ 'test_type': 'junit', |
+ 'wrapper_script_name': 'helper/<(_target_name)', |
kjellander_webrtc
2016/05/30 08:31:53
Does compilation of this target generate a run_ sc
magjed_webrtc
2016/05/30 12:47:07
Yes, a working run script is generated :)
|
+ }, |
+ 'includes': [ |
+ '../../build/host_jar.gypi', |
kjellander_webrtc
2016/05/30 08:31:53
sort alphabetically.
magjed_webrtc
2016/05/30 12:47:07
Done.
|
+ '../../build/android/test_runner.gypi', |
+ ], |
+ }, |
], # targets |
}], # OS=="android" |
['OS=="android"', { |