| OLD | NEW |
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 { | 9 { |
| 10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 'java/android', | 115 'java/android', |
| 116 '<(webrtc_base_dir)/java/src', | 116 '<(webrtc_base_dir)/java/src', |
| 117 '<(webrtc_modules_dir)/audio_device/android/java/src', | 117 '<(webrtc_modules_dir)/audio_device/android/java/src', |
| 118 '<(webrtc_modules_dir)/video_render/android/java/src', | 118 '<(webrtc_modules_dir)/video_render/android/java/src', |
| 119 ], | 119 ], |
| 120 }, | 120 }, |
| 121 'includes': ['../../build/java.gypi'], | 121 'includes': ['../../build/java.gypi'], |
| 122 }, # libjingle_peerconnection_java | 122 }, # libjingle_peerconnection_java |
| 123 ] | 123 ] |
| 124 }], | 124 }], |
| 125 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { | |
| 126 'targets': [ | |
| 127 { | |
| 128 'target_name': 'rtc_api_objc', | |
| 129 'type': 'static_library', | |
| 130 'includes': [ | |
| 131 '../build/objc_common.gypi', | |
| 132 ], | |
| 133 'dependencies': [ | |
| 134 '<(webrtc_root)/base/base.gyp:rtc_base_objc', | |
| 135 'libjingle_peerconnection', | |
| 136 ], | |
| 137 'sources': [ | |
| 138 'objc/RTCAudioTrack+Private.h', | |
| 139 'objc/RTCAudioTrack.h', | |
| 140 'objc/RTCAudioTrack.mm', | |
| 141 'objc/RTCConfiguration+Private.h', | |
| 142 'objc/RTCConfiguration.h', | |
| 143 'objc/RTCConfiguration.mm', | |
| 144 'objc/RTCDataChannel+Private.h', | |
| 145 'objc/RTCDataChannel.h', | |
| 146 'objc/RTCDataChannel.mm', | |
| 147 'objc/RTCDataChannelConfiguration+Private.h', | |
| 148 'objc/RTCDataChannelConfiguration.h', | |
| 149 'objc/RTCDataChannelConfiguration.mm', | |
| 150 'objc/RTCIceCandidate+Private.h', | |
| 151 'objc/RTCIceCandidate.h', | |
| 152 'objc/RTCIceCandidate.mm', | |
| 153 'objc/RTCIceServer+Private.h', | |
| 154 'objc/RTCIceServer.h', | |
| 155 'objc/RTCIceServer.mm', | |
| 156 'objc/RTCMediaConstraints+Private.h', | |
| 157 'objc/RTCMediaConstraints.h', | |
| 158 'objc/RTCMediaConstraints.mm', | |
| 159 'objc/RTCMediaStream+Private.h', | |
| 160 'objc/RTCMediaStream.h', | |
| 161 'objc/RTCMediaStream.mm', | |
| 162 'objc/RTCMediaStreamTrack+Private.h', | |
| 163 'objc/RTCMediaStreamTrack.h', | |
| 164 'objc/RTCMediaStreamTrack.mm', | |
| 165 'objc/RTCOpenGLVideoRenderer.h', | |
| 166 'objc/RTCOpenGLVideoRenderer.mm', | |
| 167 'objc/RTCPeerConnection+DataChannel.mm', | |
| 168 'objc/RTCPeerConnection+Private.h', | |
| 169 'objc/RTCPeerConnection+Stats.mm', | |
| 170 'objc/RTCPeerConnection.h', | |
| 171 'objc/RTCPeerConnection.mm', | |
| 172 'objc/RTCPeerConnectionFactory+Private.h', | |
| 173 'objc/RTCPeerConnectionFactory.h', | |
| 174 'objc/RTCPeerConnectionFactory.mm', | |
| 175 'objc/RTCRtpCodecParameters+Private.h', | |
| 176 'objc/RTCRtpCodecParameters.h', | |
| 177 'objc/RTCRtpCodecParameters.mm', | |
| 178 'objc/RTCRtpEncodingParameters+Private.h', | |
| 179 'objc/RTCRtpEncodingParameters.h', | |
| 180 'objc/RTCRtpEncodingParameters.mm', | |
| 181 'objc/RTCRtpParameters+Private.h', | |
| 182 'objc/RTCRtpParameters.h', | |
| 183 'objc/RTCRtpParameters.mm', | |
| 184 'objc/RTCRtpSender+Private.h', | |
| 185 'objc/RTCRtpSender.h', | |
| 186 'objc/RTCRtpSender.mm', | |
| 187 'objc/RTCSessionDescription+Private.h', | |
| 188 'objc/RTCSessionDescription.h', | |
| 189 'objc/RTCSessionDescription.mm', | |
| 190 'objc/RTCStatsReport+Private.h', | |
| 191 'objc/RTCStatsReport.h', | |
| 192 'objc/RTCStatsReport.mm', | |
| 193 'objc/RTCVideoFrame+Private.h', | |
| 194 'objc/RTCVideoFrame.h', | |
| 195 'objc/RTCVideoFrame.mm', | |
| 196 'objc/RTCVideoRenderer.h', | |
| 197 'objc/RTCVideoRendererAdapter+Private.h', | |
| 198 'objc/RTCVideoRendererAdapter.h', | |
| 199 'objc/RTCVideoRendererAdapter.mm', | |
| 200 'objc/RTCVideoSource+Private.h', | |
| 201 'objc/RTCVideoSource.h', | |
| 202 'objc/RTCVideoSource.mm', | |
| 203 'objc/RTCVideoTrack+Private.h', | |
| 204 'objc/RTCVideoTrack.h', | |
| 205 'objc/RTCVideoTrack.mm', | |
| 206 ], | |
| 207 # TODO(hjon): Make this compile without linking to libstdc++ | |
| 208 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5593 | |
| 209 'link_settings': { | |
| 210 'libraries': [ | |
| 211 '-lstdc++', | |
| 212 ], | |
| 213 }, | |
| 214 'conditions': [ | |
| 215 ['OS=="ios"', { | |
| 216 'sources': [ | |
| 217 'objc/RTCAVFoundationVideoSource+Private.h', | |
| 218 'objc/RTCAVFoundationVideoSource.h', | |
| 219 'objc/RTCAVFoundationVideoSource.mm', | |
| 220 'objc/RTCEAGLVideoView.h', | |
| 221 'objc/RTCEAGLVideoView.m', | |
| 222 'objc/avfoundationvideocapturer.h', | |
| 223 'objc/avfoundationvideocapturer.mm', | |
| 224 ], | |
| 225 'all_dependent_settings': { | |
| 226 'xcode_settings': { | |
| 227 'OTHER_LDFLAGS': [ | |
| 228 '-framework CoreGraphics', | |
| 229 '-framework GLKit', | |
| 230 '-framework OpenGLES', | |
| 231 '-framework QuartzCore', | |
| 232 ] | |
| 233 } | |
| 234 }, | |
| 235 # TODO(kjellander): Make the code compile without disabling these. | |
| 236 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 | |
| 237 'cflags': [ | |
| 238 '-Wno-return-type', | |
| 239 ], | |
| 240 'xcode_settings': { | |
| 241 'WARNING_CFLAGS': [ | |
| 242 '-Wno-return-type', | |
| 243 ], | |
| 244 }, | |
| 245 }], | |
| 246 ['OS=="mac"', { | |
| 247 'sources': [ | |
| 248 'objc/RTCNSGLVideoView.h', | |
| 249 'objc/RTCNSGLVideoView.m', | |
| 250 ], | |
| 251 'link_settings': { | |
| 252 'xcode_settings': { | |
| 253 'OTHER_LDFLAGS': [ | |
| 254 '-framework OpenGL', | |
| 255 ], | |
| 256 }, | |
| 257 }, | |
| 258 }], | |
| 259 ], | |
| 260 } | |
| 261 ], | |
| 262 }], # OS=="ios" | |
| 263 ], # conditions | 125 ], # conditions |
| 264 'targets': [ | 126 'targets': [ |
| 265 { | 127 { |
| 266 'target_name': 'libjingle_peerconnection', | 128 'target_name': 'libjingle_peerconnection', |
| 267 'type': 'static_library', | 129 'type': 'static_library', |
| 268 'dependencies': [ | 130 'dependencies': [ |
| 269 '<(webrtc_root)/media/media.gyp:rtc_media', | 131 '<(webrtc_root)/media/media.gyp:rtc_media', |
| 270 '<(webrtc_root)/pc/pc.gyp:rtc_pc', | 132 '<(webrtc_root)/pc/pc.gyp:rtc_pc', |
| 271 ], | 133 ], |
| 272 'sources': [ | 134 'sources': [ |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 'AdditionalOptions': [ | 237 'AdditionalOptions': [ |
| 376 '-Wno-sign-compare', | 238 '-Wno-sign-compare', |
| 377 ], | 239 ], |
| 378 }, | 240 }, |
| 379 }, | 241 }, |
| 380 }], | 242 }], |
| 381 ], | 243 ], |
| 382 }, # target libjingle_peerconnection | 244 }, # target libjingle_peerconnection |
| 383 ], # targets | 245 ], # targets |
| 384 } | 246 } |
| OLD | NEW |