| Index: webrtc/examples/BUILD.gn
|
| diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn
|
| index cf0c19525adc08ba1b83af2ecb86f840e50b7df6..428498d1edd267eb6b9428e00793118a5a20d0cf 100644
|
| --- a/webrtc/examples/BUILD.gn
|
| +++ b/webrtc/examples/BUILD.gn
|
| @@ -25,6 +25,7 @@ group("examples") {
|
| public_deps += [
|
| ":AppRTCMobile",
|
| ":AppRTCMobileTest",
|
| + ":AppRTCMobileTestStubbedVideoIO",
|
| ]
|
| }
|
|
|
| @@ -126,6 +127,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")) {
|
|
|