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

Unified Diff: webrtc/api/BUILD.gn

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | webrtc/api/api.gyp » ('j') | webrtc/base/logging.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
« no previous file with comments | « no previous file | webrtc/api/api.gyp » ('j') | webrtc/base/logging.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698