| OLD | NEW |
| 1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 import("//build_overrides/webrtc.gni") | 10 import("//build_overrides/webrtc.gni") |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 if (!build_with_chromium) { | 62 if (!build_with_chromium) { |
| 63 sources += [ | 63 sources += [ |
| 64 "objc/Framework/Classes/RTCFileLogger.mm", | 64 "objc/Framework/Classes/RTCFileLogger.mm", |
| 65 "objc/Framework/Headers/WebRTC/RTCFileLogger.h", | 65 "objc/Framework/Headers/WebRTC/RTCFileLogger.h", |
| 66 ] | 66 ] |
| 67 } | 67 } |
| 68 } | 68 } |
| 69 | 69 |
| 70 source_set("rtc_sdk_peerconnection_objc") { | 70 source_set("rtc_sdk_peerconnection_objc") { |
| 71 sources = [ | 71 sources = [ |
| 72 "objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h", |
| 73 "objc/Framework/Classes/RTCAVFoundationVideoSource.mm", |
| 72 "objc/Framework/Classes/RTCAudioTrack+Private.h", | 74 "objc/Framework/Classes/RTCAudioTrack+Private.h", |
| 73 "objc/Framework/Classes/RTCAudioTrack.mm", | 75 "objc/Framework/Classes/RTCAudioTrack.mm", |
| 74 "objc/Framework/Classes/RTCConfiguration+Private.h", | 76 "objc/Framework/Classes/RTCConfiguration+Private.h", |
| 75 "objc/Framework/Classes/RTCConfiguration.mm", | 77 "objc/Framework/Classes/RTCConfiguration.mm", |
| 76 "objc/Framework/Classes/RTCDataChannel+Private.h", | 78 "objc/Framework/Classes/RTCDataChannel+Private.h", |
| 77 "objc/Framework/Classes/RTCDataChannel.mm", | 79 "objc/Framework/Classes/RTCDataChannel.mm", |
| 78 "objc/Framework/Classes/RTCDataChannelConfiguration+Private.h", | 80 "objc/Framework/Classes/RTCDataChannelConfiguration+Private.h", |
| 79 "objc/Framework/Classes/RTCDataChannelConfiguration.mm", | 81 "objc/Framework/Classes/RTCDataChannelConfiguration.mm", |
| 80 "objc/Framework/Classes/RTCIceCandidate+Private.h", | 82 "objc/Framework/Classes/RTCIceCandidate+Private.h", |
| 81 "objc/Framework/Classes/RTCIceCandidate.mm", | 83 "objc/Framework/Classes/RTCIceCandidate.mm", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 111 "objc/Framework/Classes/RTCStatsReport.mm", | 113 "objc/Framework/Classes/RTCStatsReport.mm", |
| 112 "objc/Framework/Classes/RTCVideoFrame+Private.h", | 114 "objc/Framework/Classes/RTCVideoFrame+Private.h", |
| 113 "objc/Framework/Classes/RTCVideoFrame.mm", | 115 "objc/Framework/Classes/RTCVideoFrame.mm", |
| 114 "objc/Framework/Classes/RTCVideoRendererAdapter+Private.h", | 116 "objc/Framework/Classes/RTCVideoRendererAdapter+Private.h", |
| 115 "objc/Framework/Classes/RTCVideoRendererAdapter.h", | 117 "objc/Framework/Classes/RTCVideoRendererAdapter.h", |
| 116 "objc/Framework/Classes/RTCVideoRendererAdapter.mm", | 118 "objc/Framework/Classes/RTCVideoRendererAdapter.mm", |
| 117 "objc/Framework/Classes/RTCVideoSource+Private.h", | 119 "objc/Framework/Classes/RTCVideoSource+Private.h", |
| 118 "objc/Framework/Classes/RTCVideoSource.mm", | 120 "objc/Framework/Classes/RTCVideoSource.mm", |
| 119 "objc/Framework/Classes/RTCVideoTrack+Private.h", | 121 "objc/Framework/Classes/RTCVideoTrack+Private.h", |
| 120 "objc/Framework/Classes/RTCVideoTrack.mm", | 122 "objc/Framework/Classes/RTCVideoTrack.mm", |
| 123 "objc/Framework/Classes/avfoundationvideocapturer.h", |
| 124 "objc/Framework/Classes/avfoundationvideocapturer.mm", |
| 125 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", |
| 121 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", | 126 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", |
| 122 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", | 127 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", |
| 123 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", | 128 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", |
| 124 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", | 129 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", |
| 125 "objc/Framework/Headers/WebRTC/RTCIceCandidate.h", | 130 "objc/Framework/Headers/WebRTC/RTCIceCandidate.h", |
| 126 "objc/Framework/Headers/WebRTC/RTCIceServer.h", | 131 "objc/Framework/Headers/WebRTC/RTCIceServer.h", |
| 127 "objc/Framework/Headers/WebRTC/RTCMediaConstraints.h", | 132 "objc/Framework/Headers/WebRTC/RTCMediaConstraints.h", |
| 128 "objc/Framework/Headers/WebRTC/RTCMediaStream.h", | 133 "objc/Framework/Headers/WebRTC/RTCMediaStream.h", |
| 129 "objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h", | 134 "objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h", |
| 130 "objc/Framework/Headers/WebRTC/RTCPeerConnection.h", | 135 "objc/Framework/Headers/WebRTC/RTCPeerConnection.h", |
| 131 "objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h", | 136 "objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h", |
| 132 "objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h", | 137 "objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h", |
| 133 "objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h", | 138 "objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h", |
| 134 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h", | 139 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h", |
| 135 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h", | 140 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h", |
| 136 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", | 141 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", |
| 137 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", | 142 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", |
| 138 "objc/Framework/Headers/WebRTC/RTCStatsReport.h", | 143 "objc/Framework/Headers/WebRTC/RTCStatsReport.h", |
| 139 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", | 144 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
| 140 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", | 145 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", |
| 141 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", | 146 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", |
| 142 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", | 147 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", |
| 143 ] | 148 ] |
| 144 | 149 |
| 145 if (is_ios) { | 150 if (is_ios) { |
| 146 sources += [ | 151 sources += [ |
| 147 "objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h", | |
| 148 "objc/Framework/Classes/RTCAVFoundationVideoSource.mm", | |
| 149 "objc/Framework/Classes/RTCEAGLVideoView.m", | 152 "objc/Framework/Classes/RTCEAGLVideoView.m", |
| 150 "objc/Framework/Classes/avfoundationvideocapturer.h", | |
| 151 "objc/Framework/Classes/avfoundationvideocapturer.mm", | |
| 152 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", | |
| 153 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h", | 153 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h", |
| 154 ] | 154 ] |
| 155 libs = [ | 155 libs = [ |
| 156 "CoreGraphics.framework", | 156 "CoreGraphics.framework", |
| 157 "GLKit.framework", | 157 "GLKit.framework", |
| 158 "OpenGLES.framework", | 158 "OpenGLES.framework", |
| 159 "QuartzCore.framework", | 159 "QuartzCore.framework", |
| 160 ] | 160 ] |
| 161 } | 161 } |
| 162 | 162 |
| 163 if (is_mac) { | 163 if (is_mac) { |
| 164 sources += [ | 164 sources += [ |
| 165 "objc/Framework/Classes/RTCNSGLVideoView.m", | 165 "objc/Framework/Classes/RTCNSGLVideoView.m", |
| 166 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h", | 166 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h", |
| 167 ] | 167 ] |
| 168 libs = [ "OpenGL.framework" ] | 168 libs = [ |
| 169 "CoreMedia.framework", |
| 170 "OpenGL.framework", |
| 171 ] |
| 169 } | 172 } |
| 170 | 173 |
| 171 configs += [ | 174 configs += [ |
| 172 "..:common_objc", | 175 "..:common_objc", |
| 173 "//build/config/compiler:enable_arc", | 176 "//build/config/compiler:enable_arc", |
| 174 ] | 177 ] |
| 175 | 178 |
| 176 public_configs = [ ":rtc_sdk_common_objc_config" ] | 179 public_configs = [ ":rtc_sdk_common_objc_config" ] |
| 177 | 180 |
| 178 if (is_clang) { | 181 if (is_clang) { |
| 179 # Suppress warnings from the Chromium Clang plugins. | 182 # Suppress warnings from the Chromium Clang plugins. |
| 180 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 183 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 181 configs -= [ "//build/config/clang:find_bad_constructs" ] | 184 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 182 } | 185 } |
| 183 | 186 |
| 184 libs += [ "stdc++" ] | 187 libs += [ |
| 188 "AVFoundation.framework", |
| 189 "stdc++", |
| 190 ] |
| 185 | 191 |
| 186 deps = [ | 192 deps = [ |
| 187 ":rtc_sdk_common_objc", | 193 ":rtc_sdk_common_objc", |
| 188 "../api:libjingle_peerconnection", | 194 "../api:libjingle_peerconnection", |
| 189 ] | 195 ] |
| 190 } | 196 } |
| 191 | 197 |
| 192 # TODO(tkchin): Add the rtc_sdk_framework_objc target. | 198 # TODO(tkchin): Add the rtc_sdk_framework_objc target. |
| 193 } | 199 } |
| OLD | NEW |