Index: webrtc/examples/BUILD.gn |
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn |
index b0b530fdd0c80299639cf69c4cc72b38b42f2825..938e9b27d7afe32853068b54109d2558cb697928 100644 |
--- a/webrtc/examples/BUILD.gn |
+++ b/webrtc/examples/BUILD.gn |
@@ -359,6 +359,29 @@ if (is_ios || (is_mac && target_cpu != "x86")) { |
"icucore", |
] |
} |
+ |
+ if (rtc_include_tests) { |
kthelgason
2016/10/24 08:57:27
This needs a custom plist to work with the iOS 10
|
+ config("rtc_apprtcmobile_config") { |
+ defines = [ "GTEST_RELATIVE_PATH" ] |
+ } |
+ |
+ rtc_test("test_apprtcmobile") { |
+ deps = [ |
+ ":apprtc_signaling", |
+ "//testing/gtest", |
+ "//third_party/ocmock", |
+ ] |
+ |
+ sources = [ |
+ "objc/AppRTCMobile/tests/ARDAppClientTest.mm", |
+ ] |
+ |
+ configs += [ |
+ ":rtc_apprtcmobile_config", |
+ "//build/config/compiler:enable_arc", |
+ ] |
+ } |
+ } |
} |
if (is_linux || is_win) { |