Index: webrtc/examples/BUILD.gn |
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn |
index b0b530fdd0c80299639cf69c4cc72b38b42f2825..5de85927550ce9037ba9155ff0f53d745d214ef9 100644 |
--- a/webrtc/examples/BUILD.gn |
+++ b/webrtc/examples/BUILD.gn |
@@ -359,6 +359,33 @@ if (is_ios || (is_mac && target_cpu != "x86")) { |
"icucore", |
] |
} |
+ |
+ if (rtc_include_tests) { |
+ config("rtc_apprtcmobile_config") { |
+ defines = [ "GTEST_RELATIVE_PATH" ] |
+ } |
+ |
+ rtc_test("apprtcmobile_tests") { |
+ deps = [ |
+ ":apprtc_signaling", |
+ "//testing/gtest", |
+ "//third_party/ocmock", |
+ ] |
+ |
+ sources = [ |
+ "objc/AppRTCMobile/tests/ARDAppClientTest.mm", |
+ ] |
+ |
+ if (is_ios) { |
+ info_plist = "objc/AppRTCMobile/ios/Info.plist" |
+ } |
+ |
+ configs += [ |
+ ":rtc_apprtcmobile_config", |
+ "//build/config/compiler:enable_arc", |
+ ] |
+ } |
+ } |
} |
if (is_linux || is_win) { |