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

Unified Diff: webrtc/examples/BUILD.gn

Issue 2050153003: Update Unit test for AppRTCMobile app (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update tests for AppRTCMobile app Created 4 years, 3 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 f79501b50192f24cffaac20b69ec2b737f38a636..53458b42594e4dbc72984afe507f7a20af270c4e 100644
--- a/webrtc/examples/BUILD.gn
+++ b/webrtc/examples/BUILD.gn
@@ -354,6 +354,32 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
"icucore",
]
}
+
+ config("rtc_apprtcmobile_config") {
+ defines = [ "GTEST_RELATIVE_PATH" ]
+ }
+
+ rtc_test("test_apprtcmobile") {
+ deps = []
+ sources = [
+ "objc/AppRTCMobile/tests/ARDAppClientTest.mm",
+ ]
+
+ configs += [
+ ":rtc_apprtcmobile_config",
+ "//build/config/compiler:enable_arc",
+ ]
+
+ if (is_ios) {
+ deps += [ ":test_support_unittests_bundle_data" ]
+ }
+
+ deps += [
+ ":apprtc_signaling",
+ "//testing/gtest",
+ "//third_party/ocmock",
+ ]
kthelgason 2016/10/17 08:27:37 This should be the declaration of deps at the top
+ }
}
if (is_linux || is_win) {

Powered by Google App Engine
This is Rietveld 408576698