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

Unified Diff: webrtc/examples/BUILD.gn

Issue 2585813002: Espresso test case to control loopback call (Closed)
Patch Set: Merge from master and use of Environment.getExternalStorageDirectory() instead of hardcoded /sdcard… Created 3 years, 11 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
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")) {

Powered by Google App Engine
This is Rietveld 408576698