Index: webrtc/api/BUILD.gn |
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn |
index 3f47ac811573b0b61ae662762477a5ff0f19254a..8d62af2a849fbfd13ea91a57c1b5b53441d13b8a 100644 |
--- a/webrtc/api/BUILD.gn |
+++ b/webrtc/api/BUILD.gn |
@@ -17,7 +17,7 @@ config("ios_config") { |
] |
} |
-if (is_ios) { |
+if (is_ios || is_mac) { |
source_set("rtc_api_objc") { |
deps = [ |
"//webrtc/base:rtc_base_objc", |
@@ -29,9 +29,6 @@ if (is_ios) { |
] |
sources = [ |
# Add these when there's a BUILD.gn for peer connection APIs |
- #"objc/RTCAVFoundationVideoSource+Private.h", |
- #"objc/RTCAVFoundationVideoSource.h", |
- #"objc/RTCAVFoundationVideoSource.mm", |
#"objc/RTCAudioTrack+Private.h", |
#"objc/RTCAudioTrack.h", |
#"objc/RTCAudioTrack.mm", |
@@ -62,6 +59,7 @@ if (is_ios) { |
#"objc/RTCVideoTrack+Private.h", |
#"objc/RTCVideoTrack.h", |
#"objc/RTCVideoTrack.mm", |
+ "../build/WebRTC-Prefix.pch", |
tkchin_webrtc
2016/01/28 21:09:44
I don't think this is how precompiled headers are
hjon_webrtc
2016/01/28 23:49:51
I'm not clear on what the bug should be. Could you
tkchin_webrtc
2016/01/29 00:26:29
iOS WebRTC GN Build
- Fix prefix headers
- Get it
|
"objc/RTCIceServer+Private.h", |
"objc/RTCIceServer.h", |
"objc/RTCIceServer.mm", |
@@ -83,15 +81,18 @@ if (is_ios) { |
"objc/RTCVideoRendererAdapter+Private.h", |
"objc/RTCVideoRendererAdapter.h", |
"objc/RTCVideoRendererAdapter.mm", |
- "objc/WebRTC-Prefix.pch", |
- "objc/avfoundationvideocapturer.h", |
- "objc/avfoundationvideocapturer.mm", |
] |
if (is_ios) { |
sources += [ |
+ # Add these when there's a BUILD.gn for peer connection APIs |
+ #"objc/RTCAVFoundationVideoSource+Private.h", |
+ #"objc/RTCAVFoundationVideoSource.h", |
+ #"objc/RTCAVFoundationVideoSource.mm", |
"objc/RTCEAGLVideoView.h", |
"objc/RTCEAGLVideoView.m", |
+ "objc/avfoundationvideocapturer.h", |
+ "objc/avfoundationvideocapturer.mm", |
] |
} |