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

Unified Diff: webrtc/test/BUILD.gn

Issue 1869523002: GN: Fix some build errors for iOS. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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/test/BUILD.gn
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn
index 54694b8b646d5899d64656fee23370769d07bb4b..af9516f43426c54a3eada81e3fcfc7c7e57dd8f5 100644
--- a/webrtc/test/BUILD.gn
+++ b/webrtc/test/BUILD.gn
@@ -59,6 +59,7 @@ source_set("test_support") {
"testsupport/frame_reader.h",
"testsupport/frame_writer.cc",
"testsupport/frame_writer.h",
+ "testsupport/iosfileutils.mm",
"testsupport/mock/mock_frame_reader.h",
"testsupport/mock/mock_frame_writer.h",
"testsupport/packet_reader.cc",
@@ -76,6 +77,10 @@ source_set("test_support") {
"//testing/gtest",
]
+ if (is_ios) {
+ cflags = [ "-fobjc-arc" ] # CLANG_ENABLE_OBJC_ARC = YES.
tkchin_webrtc 2016/04/06 19:23:17 this should be added globally somewhere I think fo
kjellander_webrtc 2016/04/07 07:05:13 That's probably a good idea, but let's do it in an
+ }
+
if (is_android) {
deps += [ "//base:base" ]
}
« webrtc/modules/audio_device/BUILD.gn ('K') | « webrtc/modules/audio_device/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698