Index: webrtc/examples/BUILD.gn |
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn |
index e6b73f017d2def3ee4fec0ff3d73e0591b121782..7056e406a85e6c7e589714d1cadf4a21eb79157c 100644 |
--- a/webrtc/examples/BUILD.gn |
+++ b/webrtc/examples/BUILD.gn |
@@ -25,6 +25,7 @@ group("examples") { |
public_deps += [ |
":AppRTCMobile", |
":AppRTCMobileTest", |
+ ":AppRTCMobileTestStubbedVideoIO", |
] |
} |
@@ -116,6 +117,11 @@ if (is_android) { |
deps = [ |
":AppRTCMobile_javalib", |
+ "//third_party/android_support_test_runner:rules_java", |
kjellander_webrtc
2016/12/27 06:31:42
Please remove line 120-124 as they're no longer ne
mandermo
2017/01/03 14:17:58
I manage to remove all the lines exept line 122, t
kjellander_webrtc
2017/01/04 15:10:08
Ah, that's probably related to the AndroidManifest
|
+ "//third_party/android_support_test_runner:runner_java", |
+ "//third_party/espresso:espresso_all_java", |
+ "//third_party/hamcrest:hamcrest_java", |
+ "//third_party/junit", |
"//webrtc/sdk/android:libjingle_peerconnection_java", |
] |
@@ -123,6 +129,29 @@ if (is_android) { |
"//webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvideo.y4m", |
] |
} |
+ |
+ instrumentation_test_apk("AppRTCMobileTestStubbedVideoIO") { |
+ apk_name = "AppRTCMobileTestStubbedVideoIO" |
+ android_manifest = "androidtests/AndroidManifest.xml" |
+ |
+ java_files = [ "androidtests/src/org/appspot/apprtc/test/ConnectActivityStubbedInputOutputTest.java" ] |
+ |
+ apk_under_test = ":AppRTCMobile" |
+ |
+ deps = [ |
+ ":AppRTCMobile_javalib", |
+ "//third_party/android_support_test_runner:rules_java", |
+ "//third_party/android_support_test_runner:runner_java", |
+ "//third_party/espresso:espresso_all_java", |
+ "//third_party/hamcrest:hamcrest_java", |
+ "//third_party/junit", |
+ "//webrtc/sdk/android:libjingle_peerconnection_java", |
+ ] |
+ |
+ data = [ |
+ "//resources/reference_video_640x360_30fps.y4m", |
+ ] |
+ } |
} |
if (is_ios || (is_mac && target_cpu != "x86")) { |