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

Unified Diff: webrtc/examples/BUILD.gn

Issue 2585813002: Espresso test case to control loopback call (Closed)
Patch Set: Fixed review comments and added missing .sha1 for video file 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 e6b73f017d2def3ee4fec0ff3d73e0591b121782..af99d601b7cf2232b0dead4ac05300ee600387df 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,7 @@ if (is_android) {
deps = [
":AppRTCMobile_javalib",
+ "//third_party/android_support_test_runner:runner_java",
"//webrtc/sdk/android:libjingle_peerconnection_java",
]
@@ -123,6 +125,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