| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 1 | # |
| 2 | # libjingle |
| jlmiller@webrtc.org | 5f93d0a | 2015-01-20 21:36:13 +0000 | [diff] [blame] | 3 | # Copyright 2012 Google Inc. |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 4 | # |
| 5 | # Redistribution and use in source and binary forms, with or without |
| 6 | # modification, are permitted provided that the following conditions are met: |
| 7 | # |
| 8 | # 1. Redistributions of source code must retain the above copyright notice, |
| 9 | # this list of conditions and the following disclaimer. |
| 10 | # 2. Redistributions in binary form must reproduce the above copyright notice, |
| 11 | # this list of conditions and the following disclaimer in the documentation |
| 12 | # and/or other materials provided with the distribution. |
| 13 | # 3. The name of the author may not be used to endorse or promote products |
| 14 | # derived from this software without specific prior written permission. |
| 15 | # |
| 16 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
| 17 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 18 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
| 19 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 20 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 21 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 22 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 23 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 24 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 25 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 26 | |
| 27 | { |
| 28 | 'includes': ['build/common.gypi'], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 29 | 'conditions': [ |
| 30 | ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
| 31 | 'conditions': [ |
| 32 | ['sysroot!=""', { |
| 33 | 'variables': { |
| 34 | 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
| 35 | }, |
| 36 | }, { |
| 37 | 'variables': { |
| 38 | 'pkg-config': 'pkg-config' |
| 39 | }, |
| 40 | }], |
| 41 | ], |
| 42 | }], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 43 | ['OS=="linux" or OS=="android"', { |
| 44 | 'targets': [ |
| 45 | { |
| 46 | 'target_name': 'libjingle_peerconnection_so', |
| perkj@webrtc.org | 128faba | 2014-12-11 12:25:57 +0000 | [diff] [blame] | 47 | 'type': 'shared_library', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 48 | 'dependencies': [ |
| 49 | 'libjingle_peerconnection', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 50 | ], |
| 51 | 'sources': [ |
| perkj@webrtc.org | 96e4db9 | 2015-02-13 12:46:51 +0000 | [diff] [blame] | 52 | 'app/webrtc/java/jni/classreferenceholder.cc', |
| 53 | 'app/webrtc/java/jni/classreferenceholder.h', |
| 54 | 'app/webrtc/java/jni/jni_helpers.cc', |
| 55 | 'app/webrtc/java/jni/jni_helpers.h', |
| glaznev@webrtc.org | 18c9247 | 2015-02-18 18:42:55 +0000 | [diff] [blame] | 56 | 'app/webrtc/java/jni/native_handle_impl.h', |
| perkj@webrtc.org | 96e4db9 | 2015-02-13 12:46:51 +0000 | [diff] [blame] | 57 | 'app/webrtc/java/jni/peerconnection_jni.cc', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 58 | ], |
| fischman@webrtc.org | 540acde | 2014-02-13 03:56:14 +0000 | [diff] [blame] | 59 | 'include_dirs': [ |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 60 | '<(libyuv_dir)/include', |
| fischman@webrtc.org | 540acde | 2014-02-13 03:56:14 +0000 | [diff] [blame] | 61 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 62 | 'conditions': [ |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 63 | ['build_icu==1', { |
| 64 | 'dependencies': [ |
| 65 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 66 | ], |
| 67 | }], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 68 | ['OS=="linux"', { |
| 69 | 'defines': [ |
| 70 | 'HAVE_GTK', |
| 71 | ], |
| 72 | 'include_dirs': [ |
| 73 | '<(java_home)/include', |
| 74 | '<(java_home)/include/linux', |
| 75 | ], |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 76 | 'conditions': [ |
| 77 | ['use_gtk==1', { |
| 78 | 'link_settings': { |
| 79 | 'libraries': [ |
| 80 | '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0' |
| 81 | ' gtk+-2.0)', |
| 82 | ], |
| 83 | }, |
| 84 | }], |
| 85 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 86 | }], |
| perkj@webrtc.org | 96e4db9 | 2015-02-13 12:46:51 +0000 | [diff] [blame] | 87 | ['OS=="android"', { |
| 88 | 'sources': [ |
| 89 | 'app/webrtc/java/jni/androidvideocapturer_jni.cc', |
| 90 | 'app/webrtc/java/jni/androidvideocapturer_jni.h', |
| kjellander@webrtc.org | 7227391 | 2015-02-23 19:08:31 +0000 | [diff] [blame] | 91 | ], |
| 92 | 'variables': { |
| 93 | # This library uses native JNI exports; tell GYP so that the |
| 94 | # required symbols will be kept. |
| 95 | 'use_native_jni_exports': 1, |
| 96 | }, |
| perkj@webrtc.org | 96e4db9 | 2015-02-13 12:46:51 +0000 | [diff] [blame] | 97 | }], |
| glaznev@webrtc.org | 18c9247 | 2015-02-18 18:42:55 +0000 | [diff] [blame] | 98 | ['OS=="android" and build_with_chromium==0', { |
| 99 | 'sources': [ |
| 100 | 'app/webrtc/java/jni/androidmediacodeccommon.h', |
| 101 | 'app/webrtc/java/jni/androidmediadecoder_jni.cc', |
| 102 | 'app/webrtc/java/jni/androidmediadecoder_jni.h', |
| 103 | 'app/webrtc/java/jni/androidmediaencoder_jni.cc', |
| 104 | 'app/webrtc/java/jni/androidmediaencoder_jni.h', |
| 105 | ] |
| 106 | }], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 107 | ], |
| 108 | }, |
| 109 | { |
| 110 | 'target_name': 'libjingle_peerconnection_jar', |
| 111 | 'type': 'none', |
| 112 | 'actions': [ |
| 113 | { |
| 114 | 'variables': { |
| 115 | 'java_src_dir': 'app/webrtc/java/src', |
| henrike@webrtc.org | 9de257d | 2013-07-17 14:42:53 +0000 | [diff] [blame] | 116 | 'webrtc_modules_dir': '<(webrtc_root)/modules', |
| fischman@webrtc.org | 000dde9 | 2013-12-20 22:49:35 +0000 | [diff] [blame] | 117 | 'build_jar_log': '<(INTERMEDIATE_DIR)/build_jar.log', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 118 | 'peerconnection_java_files': [ |
| 119 | 'app/webrtc/java/src/org/webrtc/AudioSource.java', |
| 120 | 'app/webrtc/java/src/org/webrtc/AudioTrack.java', |
| henrike@webrtc.org | 723d683 | 2013-07-12 16:04:50 +0000 | [diff] [blame] | 121 | 'app/webrtc/java/src/org/webrtc/DataChannel.java', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 122 | 'app/webrtc/java/src/org/webrtc/IceCandidate.java', |
| fischman@webrtc.org | c883fdc | 2013-08-06 19:00:53 +0000 | [diff] [blame] | 123 | 'app/webrtc/java/src/org/webrtc/Logging.java', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 124 | 'app/webrtc/java/src/org/webrtc/MediaConstraints.java', |
| 125 | 'app/webrtc/java/src/org/webrtc/MediaSource.java', |
| 126 | 'app/webrtc/java/src/org/webrtc/MediaStream.java', |
| 127 | 'app/webrtc/java/src/org/webrtc/MediaStreamTrack.java', |
| 128 | 'app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java', |
| 129 | 'app/webrtc/java/src/org/webrtc/PeerConnection.java', |
| 130 | 'app/webrtc/java/src/org/webrtc/SdpObserver.java', |
| 131 | 'app/webrtc/java/src/org/webrtc/StatsObserver.java', |
| 132 | 'app/webrtc/java/src/org/webrtc/StatsReport.java', |
| 133 | 'app/webrtc/java/src/org/webrtc/SessionDescription.java', |
| 134 | 'app/webrtc/java/src/org/webrtc/VideoCapturer.java', |
| 135 | 'app/webrtc/java/src/org/webrtc/VideoRenderer.java', |
| 136 | 'app/webrtc/java/src/org/webrtc/VideoSource.java', |
| 137 | 'app/webrtc/java/src/org/webrtc/VideoTrack.java', |
| 138 | ], |
| 139 | # TODO(fischman): extract this into a webrtc gyp var that can be |
| 140 | # included here, or better yet, build a proper .jar in webrtc |
| 141 | # and include it here. |
| 142 | 'android_java_files': [ |
| glaznev@webrtc.org | c3288c1 | 2014-06-06 21:57:46 +0000 | [diff] [blame] | 143 | 'app/webrtc/java/android/org/webrtc/VideoRendererGui.java', |
| fischman@webrtc.org | 540acde | 2014-02-13 03:56:14 +0000 | [diff] [blame] | 144 | 'app/webrtc/java/src/org/webrtc/MediaCodecVideoEncoder.java', |
| glaznev@webrtc.org | efe4b9a | 2014-07-22 17:44:53 +0000 | [diff] [blame] | 145 | 'app/webrtc/java/src/org/webrtc/MediaCodecVideoDecoder.java', |
| perkj@webrtc.org | 83bc721 | 2015-02-11 11:26:56 +0000 | [diff] [blame] | 146 | 'app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java', |
| henrike@webrtc.org | 82f014a | 2013-09-10 18:24:07 +0000 | [diff] [blame] | 147 | '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/AudioManagerAndroid.java', |
| henrike@webrtc.org | 9de257d | 2013-07-17 14:42:53 +0000 | [diff] [blame] | 148 | '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViEAndroidGLES20.java', |
| 149 | '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViERenderer.java', |
| 150 | '<(webrtc_modules_dir)/video_render/android/java/src/org/webrtc/videoengine/ViESurfaceRenderer.java', |
| Alex Glaznev | 0194d32 | 2015-03-30 11:20:27 -0700 | [diff] [blame] | 151 | '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java', |
| henrika@webrtc.org | 962c624 | 2015-02-23 11:54:05 +0000 | [diff] [blame] | 152 | '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java', |
| henrike@webrtc.org | 9ee75e9 | 2013-12-11 21:42:44 +0000 | [diff] [blame] | 153 | '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java', |
| 154 | '<(webrtc_modules_dir)/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 155 | ], |
| 156 | }, |
| 157 | 'action_name': 'create_jar', |
| 158 | 'inputs': [ |
| 159 | 'build/build_jar.sh', |
| 160 | '<@(java_files)', |
| 161 | ], |
| 162 | 'outputs': [ |
| 163 | '<(PRODUCT_DIR)/libjingle_peerconnection.jar', |
| 164 | ], |
| 165 | 'conditions': [ |
| 166 | ['OS=="android"', { |
| 167 | 'variables': { |
| 168 | 'java_files': ['<@(peerconnection_java_files)', '<@(android_java_files)'], |
| 169 | 'build_classpath': '<(java_src_dir):<(DEPTH)/third_party/android_tools/sdk/platforms/android-<(android_sdk_version)/android.jar', |
| 170 | }, |
| 171 | }, { |
| 172 | 'variables': { |
| 173 | 'java_files': ['<@(peerconnection_java_files)'], |
| 174 | 'build_classpath': '<(java_src_dir)', |
| 175 | }, |
| 176 | }], |
| 177 | ], |
| 178 | 'action': [ |
| fischman@webrtc.org | 000dde9 | 2013-12-20 22:49:35 +0000 | [diff] [blame] | 179 | 'bash', '-ec', |
| 180 | 'mkdir -p <(INTERMEDIATE_DIR) && ' |
| 181 | '{ build/build_jar.sh <(java_home) <@(_outputs) ' |
| 182 | ' <(INTERMEDIATE_DIR)/build_jar.tmp ' |
| 183 | ' <(build_classpath) <@(java_files) ' |
| 184 | ' > <(build_jar_log) 2>&1 || ' |
| 185 | ' { cat <(build_jar_log) ; exit 1; } }' |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 186 | ], |
| 187 | }, |
| 188 | ], |
| 189 | 'dependencies': [ |
| 190 | 'libjingle_peerconnection_so', |
| 191 | ], |
| 192 | }, |
| 193 | ], |
| 194 | }], |
| perkj@webrtc.org | 128faba | 2014-12-11 12:25:57 +0000 | [diff] [blame] | 195 | ['OS=="android"', { |
| 196 | 'targets': [ |
| 197 | { |
| 198 | # |libjingle_peerconnection_java| builds a jar file with name |
| 199 | # libjingle_peerconnection_java.jar using Chromes build system. |
| 200 | # It includes all Java files needed to setup a PeeerConnection call |
| 201 | # from Android. |
| 202 | # TODO(perkj): Consider replacing the use of |
| 203 | # libjingle_peerconnection_jar with this target everywhere. |
| 204 | 'target_name': 'libjingle_peerconnection_java', |
| 205 | 'type': 'none', |
| 206 | 'dependencies': [ |
| 207 | 'libjingle_peerconnection_so', |
| 208 | ], |
| 209 | 'variables': { |
| 210 | 'java_in_dir': 'app/webrtc/java', |
| 211 | 'webrtc_modules_dir': '<(webrtc_root)/modules', |
| 212 | 'additional_src_dirs' : [ |
| 213 | 'app/webrtc/java/android', |
| 214 | '<(webrtc_modules_dir)/audio_device/android/java/src', |
| 215 | '<(webrtc_modules_dir)/video_capture/android/java/src', |
| 216 | '<(webrtc_modules_dir)/video_render/android/java/src', |
| 217 | ], |
| 218 | }, |
| 219 | 'includes': ['../build/java.gypi'], |
| 220 | }, # libjingle_peerconnection_java |
| 221 | ] |
| 222 | }], |
| tkchin@webrtc.org | ff27332 | 2014-04-30 18:32:33 +0000 | [diff] [blame] | 223 | ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.7")', { |
| 224 | # The >= 10.7 above is required for ARC. |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 225 | 'targets': [ |
| 226 | { |
| 227 | 'target_name': 'libjingle_peerconnection_objc', |
| 228 | 'type': 'static_library', |
| 229 | 'dependencies': [ |
| 230 | 'libjingle_peerconnection', |
| 231 | ], |
| 232 | 'sources': [ |
| 233 | 'app/webrtc/objc/RTCAudioTrack+Internal.h', |
| 234 | 'app/webrtc/objc/RTCAudioTrack.mm', |
| tkchin@webrtc.org | ff27332 | 2014-04-30 18:32:33 +0000 | [diff] [blame] | 235 | 'app/webrtc/objc/RTCDataChannel+Internal.h', |
| 236 | 'app/webrtc/objc/RTCDataChannel.mm', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 237 | 'app/webrtc/objc/RTCEnumConverter.h', |
| 238 | 'app/webrtc/objc/RTCEnumConverter.mm', |
| tkchin@webrtc.org | 1732a59 | 2014-05-19 23:26:01 +0000 | [diff] [blame] | 239 | 'app/webrtc/objc/RTCI420Frame+Internal.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 240 | 'app/webrtc/objc/RTCI420Frame.mm', |
| fischman@webrtc.org | 1bc1954 | 2013-08-01 18:29:45 +0000 | [diff] [blame] | 241 | 'app/webrtc/objc/RTCICECandidate+Internal.h', |
| 242 | 'app/webrtc/objc/RTCICECandidate.mm', |
| 243 | 'app/webrtc/objc/RTCICEServer+Internal.h', |
| 244 | 'app/webrtc/objc/RTCICEServer.mm', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 245 | 'app/webrtc/objc/RTCMediaConstraints+Internal.h', |
| 246 | 'app/webrtc/objc/RTCMediaConstraints.mm', |
| 247 | 'app/webrtc/objc/RTCMediaConstraintsNative.cc', |
| 248 | 'app/webrtc/objc/RTCMediaConstraintsNative.h', |
| 249 | 'app/webrtc/objc/RTCMediaSource+Internal.h', |
| 250 | 'app/webrtc/objc/RTCMediaSource.mm', |
| 251 | 'app/webrtc/objc/RTCMediaStream+Internal.h', |
| 252 | 'app/webrtc/objc/RTCMediaStream.mm', |
| 253 | 'app/webrtc/objc/RTCMediaStreamTrack+Internal.h', |
| 254 | 'app/webrtc/objc/RTCMediaStreamTrack.mm', |
| tkchin@webrtc.org | acca675 | 2014-05-30 22:26:06 +0000 | [diff] [blame] | 255 | 'app/webrtc/objc/RTCOpenGLVideoRenderer.mm', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 256 | 'app/webrtc/objc/RTCPair.m', |
| 257 | 'app/webrtc/objc/RTCPeerConnection+Internal.h', |
| 258 | 'app/webrtc/objc/RTCPeerConnection.mm', |
| 259 | 'app/webrtc/objc/RTCPeerConnectionFactory.mm', |
| 260 | 'app/webrtc/objc/RTCPeerConnectionObserver.h', |
| 261 | 'app/webrtc/objc/RTCPeerConnectionObserver.mm', |
| 262 | 'app/webrtc/objc/RTCSessionDescription+Internal.h', |
| 263 | 'app/webrtc/objc/RTCSessionDescription.mm', |
| tkchin@webrtc.org | 19b1be1 | 2014-04-22 21:05:38 +0000 | [diff] [blame] | 264 | 'app/webrtc/objc/RTCStatsReport+Internal.h', |
| 265 | 'app/webrtc/objc/RTCStatsReport.mm', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 266 | 'app/webrtc/objc/RTCVideoCapturer+Internal.h', |
| 267 | 'app/webrtc/objc/RTCVideoCapturer.mm', |
| tkchin@webrtc.org | 8125744 | 2014-11-04 23:06:15 +0000 | [diff] [blame] | 268 | 'app/webrtc/objc/RTCVideoRendererAdapter.h', |
| 269 | 'app/webrtc/objc/RTCVideoRendererAdapter.mm', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 270 | 'app/webrtc/objc/RTCVideoSource+Internal.h', |
| 271 | 'app/webrtc/objc/RTCVideoSource.mm', |
| 272 | 'app/webrtc/objc/RTCVideoTrack+Internal.h', |
| 273 | 'app/webrtc/objc/RTCVideoTrack.mm', |
| 274 | 'app/webrtc/objc/public/RTCAudioSource.h', |
| 275 | 'app/webrtc/objc/public/RTCAudioTrack.h', |
| tkchin@webrtc.org | ff27332 | 2014-04-30 18:32:33 +0000 | [diff] [blame] | 276 | 'app/webrtc/objc/public/RTCDataChannel.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 277 | 'app/webrtc/objc/public/RTCI420Frame.h', |
| fischman@webrtc.org | 1bc1954 | 2013-08-01 18:29:45 +0000 | [diff] [blame] | 278 | 'app/webrtc/objc/public/RTCICECandidate.h', |
| 279 | 'app/webrtc/objc/public/RTCICEServer.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 280 | 'app/webrtc/objc/public/RTCMediaConstraints.h', |
| 281 | 'app/webrtc/objc/public/RTCMediaSource.h', |
| 282 | 'app/webrtc/objc/public/RTCMediaStream.h', |
| 283 | 'app/webrtc/objc/public/RTCMediaStreamTrack.h', |
| tkchin@webrtc.org | acca675 | 2014-05-30 22:26:06 +0000 | [diff] [blame] | 284 | 'app/webrtc/objc/public/RTCOpenGLVideoRenderer.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 285 | 'app/webrtc/objc/public/RTCPair.h', |
| 286 | 'app/webrtc/objc/public/RTCPeerConnection.h', |
| 287 | 'app/webrtc/objc/public/RTCPeerConnectionDelegate.h', |
| 288 | 'app/webrtc/objc/public/RTCPeerConnectionFactory.h', |
| 289 | 'app/webrtc/objc/public/RTCSessionDescription.h', |
| tkchin@webrtc.org | ec3d8ec | 2014-04-21 18:47:24 +0000 | [diff] [blame] | 290 | 'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h', |
| tkchin@webrtc.org | 19b1be1 | 2014-04-22 21:05:38 +0000 | [diff] [blame] | 291 | 'app/webrtc/objc/public/RTCStatsDelegate.h', |
| 292 | 'app/webrtc/objc/public/RTCStatsReport.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 293 | 'app/webrtc/objc/public/RTCTypes.h', |
| 294 | 'app/webrtc/objc/public/RTCVideoCapturer.h', |
| 295 | 'app/webrtc/objc/public/RTCVideoRenderer.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 296 | 'app/webrtc/objc/public/RTCVideoSource.h', |
| 297 | 'app/webrtc/objc/public/RTCVideoTrack.h', |
| 298 | ], |
| fischman@webrtc.org | 1bc1954 | 2013-08-01 18:29:45 +0000 | [diff] [blame] | 299 | 'direct_dependent_settings': { |
| 300 | 'include_dirs': [ |
| 301 | '<(DEPTH)/talk/app/webrtc/objc/public', |
| 302 | ], |
| 303 | }, |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 304 | 'include_dirs': [ |
| 305 | '<(DEPTH)/talk/app/webrtc', |
| 306 | '<(DEPTH)/talk/app/webrtc/objc', |
| 307 | '<(DEPTH)/talk/app/webrtc/objc/public', |
| 308 | ], |
| 309 | 'link_settings': { |
| 310 | 'libraries': [ |
| fischman@webrtc.org | 76fe930 | 2013-09-19 21:11:08 +0000 | [diff] [blame] | 311 | '-lstdc++', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 312 | ], |
| 313 | }, |
| tkchin@webrtc.org | 3a63a3c | 2015-01-06 07:21:34 +0000 | [diff] [blame] | 314 | 'all_dependent_settings': { |
| 315 | 'xcode_settings': { |
| 316 | 'CLANG_ENABLE_OBJC_ARC': 'YES', |
| 317 | }, |
| 318 | }, |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 319 | 'xcode_settings': { |
| 320 | 'CLANG_ENABLE_OBJC_ARC': 'YES', |
| tkchin@webrtc.org | 19b1be1 | 2014-04-22 21:05:38 +0000 | [diff] [blame] | 321 | # common.gypi enables this for mac but we want this to be disabled |
| 322 | # like it is for ios. |
| 323 | 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 324 | }, |
| tkchin@webrtc.org | ff27332 | 2014-04-30 18:32:33 +0000 | [diff] [blame] | 325 | 'conditions': [ |
| tkchin@webrtc.org | 1732a59 | 2014-05-19 23:26:01 +0000 | [diff] [blame] | 326 | ['OS=="ios"', { |
| 327 | 'sources': [ |
| tkchin@webrtc.org | 1732a59 | 2014-05-19 23:26:01 +0000 | [diff] [blame] | 328 | 'app/webrtc/objc/RTCEAGLVideoView.m', |
| tkchin@webrtc.org | 1732a59 | 2014-05-19 23:26:01 +0000 | [diff] [blame] | 329 | 'app/webrtc/objc/public/RTCEAGLVideoView.h', |
| 330 | ], |
| 331 | 'link_settings': { |
| 332 | 'xcode_settings': { |
| 333 | 'OTHER_LDFLAGS': [ |
| 334 | '-framework CoreGraphics', |
| 335 | '-framework GLKit', |
| 336 | ], |
| 337 | }, |
| 338 | }, |
| 339 | }], |
| tkchin@webrtc.org | ff27332 | 2014-04-30 18:32:33 +0000 | [diff] [blame] | 340 | ['OS=="mac"', { |
| tkchin@webrtc.org | acca675 | 2014-05-30 22:26:06 +0000 | [diff] [blame] | 341 | 'sources': [ |
| 342 | 'app/webrtc/objc/RTCNSGLVideoView.m', |
| 343 | 'app/webrtc/objc/public/RTCNSGLVideoView.h', |
| 344 | ], |
| tkchin@webrtc.org | ff27332 | 2014-04-30 18:32:33 +0000 | [diff] [blame] | 345 | 'xcode_settings': { |
| 346 | # Need to build against 10.7 framework for full ARC support |
| 347 | # on OSX. |
| 348 | 'MACOSX_DEPLOYMENT_TARGET' : '10.7', |
| 349 | }, |
| tkchin@webrtc.org | acca675 | 2014-05-30 22:26:06 +0000 | [diff] [blame] | 350 | 'link_settings': { |
| 351 | 'xcode_settings': { |
| 352 | 'OTHER_LDFLAGS': [ |
| 353 | '-framework Cocoa', |
| 354 | ], |
| 355 | }, |
| 356 | }, |
| tkchin@webrtc.org | ff27332 | 2014-04-30 18:32:33 +0000 | [diff] [blame] | 357 | }], |
| 358 | ], |
| fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame] | 359 | }, # target libjingle_peerconnection_objc |
| 360 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 361 | }], |
| 362 | ], |
| 363 | |
| 364 | 'targets': [ |
| 365 | { |
| 366 | 'target_name': 'libjingle', |
| henrike@webrtc.org | 269fb4b | 2014-10-28 22:20:11 +0000 | [diff] [blame] | 367 | 'type': 'none', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 368 | 'dependencies': [ |
| henrike@webrtc.org | b2efb67 | 2014-09-10 17:28:19 +0000 | [diff] [blame] | 369 | '<(webrtc_root)/base/base.gyp:rtc_base', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 370 | ], |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 371 | 'conditions': [ |
| 372 | ['build_json==1', { |
| 373 | 'dependencies': [ |
| 374 | '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', |
| 375 | ], |
| 376 | 'export_dependent_settings': [ |
| 377 | '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', |
| 378 | ], |
| 379 | }], |
| 380 | ['build_expat==1', { |
| 381 | 'dependencies': [ |
| 382 | '<(DEPTH)/third_party/expat/expat.gyp:expat', |
| 383 | ], |
| 384 | 'export_dependent_settings': [ |
| 385 | '<(DEPTH)/third_party/expat/expat.gyp:expat', |
| 386 | ], |
| 387 | }], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 388 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 389 | }, # target libjingle |
| 390 | { |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 391 | 'target_name': 'libjingle_media', |
| 392 | 'type': 'static_library', |
| 393 | 'dependencies': [ |
| kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 394 | '<(webrtc_root)/common.gyp:webrtc_common', |
| henrike@webrtc.org | 9de257d | 2013-07-17 14:42:53 +0000 | [diff] [blame] | 395 | '<(webrtc_root)/modules/modules.gyp:video_render_module', |
| pbos@webrtc.org | b5a22b1 | 2014-05-13 11:07:01 +0000 | [diff] [blame] | 396 | '<(webrtc_root)/webrtc.gyp:webrtc', |
| henrike@webrtc.org | 9de257d | 2013-07-17 14:42:53 +0000 | [diff] [blame] | 397 | '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', |
| buildbot@webrtc.org | 573a1ee | 2014-08-27 17:21:19 +0000 | [diff] [blame] | 398 | '<(webrtc_root)/sound/sound.gyp:rtc_sound', |
| andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 399 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 400 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', |
| buildbot@webrtc.org | fa4535b | 2014-09-03 16:49:04 +0000 | [diff] [blame] | 401 | '<(webrtc_root)/libjingle/xmllite/xmllite.gyp:rtc_xmllite', |
| henrike@webrtc.org | 269fb4b | 2014-10-28 22:20:11 +0000 | [diff] [blame] | 402 | '<(webrtc_root)/libjingle/xmpp/xmpp.gyp:rtc_xmpp', |
| 403 | '<(webrtc_root)/p2p/p2p.gyp:rtc_p2p', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 404 | 'libjingle', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 405 | ], |
| 406 | 'direct_dependent_settings': { |
| 407 | 'include_dirs': [ |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 408 | '<(libyuv_dir)/include', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 409 | ], |
| 410 | }, |
| 411 | 'sources': [ |
| 412 | 'media/base/audioframe.h', |
| 413 | 'media/base/audiorenderer.h', |
| 414 | 'media/base/capturemanager.cc', |
| 415 | 'media/base/capturemanager.h', |
| 416 | 'media/base/capturerenderadapter.cc', |
| 417 | 'media/base/capturerenderadapter.h', |
| 418 | 'media/base/codec.cc', |
| 419 | 'media/base/codec.h', |
| 420 | 'media/base/constants.cc', |
| 421 | 'media/base/constants.h', |
| 422 | 'media/base/cpuid.cc', |
| 423 | 'media/base/cpuid.h', |
| 424 | 'media/base/cryptoparams.h', |
| buildbot@webrtc.org | 65b98d1 | 2014-08-07 22:09:08 +0000 | [diff] [blame] | 425 | 'media/base/device.h', |
| 426 | 'media/base/fakescreencapturerfactory.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 427 | 'media/base/filemediaengine.cc', |
| 428 | 'media/base/filemediaengine.h', |
| 429 | 'media/base/hybriddataengine.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 430 | 'media/base/mediachannel.h', |
| 431 | 'media/base/mediacommon.h', |
| 432 | 'media/base/mediaengine.cc', |
| 433 | 'media/base/mediaengine.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 434 | 'media/base/rtpdataengine.cc', |
| 435 | 'media/base/rtpdataengine.h', |
| 436 | 'media/base/rtpdump.cc', |
| 437 | 'media/base/rtpdump.h', |
| 438 | 'media/base/rtputils.cc', |
| 439 | 'media/base/rtputils.h', |
| 440 | 'media/base/screencastid.h', |
| 441 | 'media/base/streamparams.cc', |
| 442 | 'media/base/streamparams.h', |
| 443 | 'media/base/videoadapter.cc', |
| 444 | 'media/base/videoadapter.h', |
| 445 | 'media/base/videocapturer.cc', |
| 446 | 'media/base/videocapturer.h', |
| buildbot@webrtc.org | 65b98d1 | 2014-08-07 22:09:08 +0000 | [diff] [blame] | 447 | 'media/base/videocapturerfactory.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 448 | 'media/base/videocommon.cc', |
| 449 | 'media/base/videocommon.h', |
| 450 | 'media/base/videoframe.cc', |
| 451 | 'media/base/videoframe.h', |
| magjed@webrtc.org | f58b455 | 2014-11-19 18:09:14 +0000 | [diff] [blame] | 452 | 'media/base/videoframefactory.cc', |
| buildbot@webrtc.org | 4f0d401 | 2014-08-07 04:47:36 +0000 | [diff] [blame] | 453 | 'media/base/videoframefactory.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 454 | 'media/base/videoprocessor.h', |
| 455 | 'media/base/videorenderer.h', |
| 456 | 'media/base/voiceprocessor.h', |
| mallinath@webrtc.org | ecd622e | 2014-02-03 17:17:05 +0000 | [diff] [blame] | 457 | 'media/base/yuvframegenerator.cc', |
| 458 | 'media/base/yuvframegenerator.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 459 | 'media/devices/deviceinfo.h', |
| 460 | 'media/devices/devicemanager.cc', |
| 461 | 'media/devices/devicemanager.h', |
| 462 | 'media/devices/dummydevicemanager.h', |
| 463 | 'media/devices/filevideocapturer.cc', |
| 464 | 'media/devices/filevideocapturer.h', |
| 465 | 'media/devices/videorendererfactory.h', |
| mallinath@webrtc.org | ecd622e | 2014-02-03 17:17:05 +0000 | [diff] [blame] | 466 | 'media/devices/yuvframescapturer.cc', |
| 467 | 'media/devices/yuvframescapturer.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 468 | 'media/other/linphonemediaengine.h', |
| jiayl@webrtc.org | a576faf | 2014-01-29 17:45:53 +0000 | [diff] [blame] | 469 | 'media/sctp/sctpdataengine.cc', |
| 470 | 'media/sctp/sctpdataengine.h', |
| buildbot@webrtc.org | a853077 | 2014-12-10 09:01:18 +0000 | [diff] [blame] | 471 | 'media/webrtc/simulcast.cc', |
| 472 | 'media/webrtc/simulcast.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 473 | 'media/webrtc/webrtccommon.h', |
| 474 | 'media/webrtc/webrtcexport.h', |
| pbos@webrtc.org | 289a35c | 2014-06-03 14:51:34 +0000 | [diff] [blame] | 475 | 'media/webrtc/webrtcmediaengine.cc', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 476 | 'media/webrtc/webrtcmediaengine.h', |
| henrike@webrtc.org | 0481f15 | 2014-08-19 14:56:59 +0000 | [diff] [blame] | 477 | 'media/webrtc/webrtcmediaengine.cc', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 478 | 'media/webrtc/webrtcpassthroughrender.cc', |
| 479 | 'media/webrtc/webrtcpassthroughrender.h', |
| 480 | 'media/webrtc/webrtcvideocapturer.cc', |
| buildbot@webrtc.org | 65b98d1 | 2014-08-07 22:09:08 +0000 | [diff] [blame] | 481 | 'media/webrtc/webrtcvideocapturerfactory.h', |
| 482 | 'media/webrtc/webrtcvideocapturerfactory.cc', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 483 | 'media/webrtc/webrtcvideocapturer.h', |
| 484 | 'media/webrtc/webrtcvideodecoderfactory.h', |
| 485 | 'media/webrtc/webrtcvideoencoderfactory.h', |
| 486 | 'media/webrtc/webrtcvideoengine.cc', |
| 487 | 'media/webrtc/webrtcvideoengine.h', |
| pbos@webrtc.org | b5a22b1 | 2014-05-13 11:07:01 +0000 | [diff] [blame] | 488 | 'media/webrtc/webrtcvideoengine2.cc', |
| 489 | 'media/webrtc/webrtcvideoengine2.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 490 | 'media/webrtc/webrtcvideoframe.cc', |
| 491 | 'media/webrtc/webrtcvideoframe.h', |
| buildbot@webrtc.org | 4f0d401 | 2014-08-07 04:47:36 +0000 | [diff] [blame] | 492 | 'media/webrtc/webrtcvideoframefactory.cc', |
| 493 | 'media/webrtc/webrtcvideoframefactory.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 494 | 'media/webrtc/webrtcvie.h', |
| 495 | 'media/webrtc/webrtcvoe.h', |
| 496 | 'media/webrtc/webrtcvoiceengine.cc', |
| 497 | 'media/webrtc/webrtcvoiceengine.h', |
| 498 | ], |
| 499 | 'conditions': [ |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 500 | ['build_libyuv==1', { |
| 501 | 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',], |
| 502 | }], |
| 503 | ['build_usrsctp==1', { |
| 504 | 'include_dirs': [ |
| 505 | # TODO(jiayl): move this into the direct_dependent_settings of |
| 506 | # usrsctp.gyp. |
| 507 | '<(DEPTH)/third_party/usrsctp', |
| 508 | ], |
| 509 | 'dependencies': [ |
| 510 | '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', |
| 511 | ], |
| 512 | }], |
| andresp@webrtc.org | a74eda1 | 2014-09-17 11:50:19 +0000 | [diff] [blame] | 513 | ['build_with_chromium==1', { |
| kjellander@webrtc.org | 853049f | 2015-01-20 11:40:45 +0000 | [diff] [blame] | 514 | 'dependencies': [ |
| kjellander@webrtc.org | f58fe0a | 2015-02-11 07:47:00 +0000 | [diff] [blame] | 515 | '<(webrtc_root)/modules/modules.gyp:video_capture', |
| 516 | '<(webrtc_root)/modules/modules.gyp:video_render', |
| kjellander@webrtc.org | 853049f | 2015-01-20 11:40:45 +0000 | [diff] [blame] | 517 | ], |
| 518 | }, { |
| 519 | 'dependencies': [ |
| andresp@webrtc.org | a74eda1 | 2014-09-17 11:50:19 +0000 | [diff] [blame] | 520 | '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl', |
| andresp@webrtc.org | ab071da | 2014-09-18 08:58:15 +0000 | [diff] [blame] | 521 | '<(webrtc_root)/modules/modules.gyp:video_render_module_internal_impl', |
| kjellander@webrtc.org | 853049f | 2015-01-20 11:40:45 +0000 | [diff] [blame] | 522 | ], |
| 523 | }], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 524 | ['OS=="linux"', { |
| 525 | 'sources': [ |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 526 | 'media/devices/libudevsymboltable.cc', |
| 527 | 'media/devices/libudevsymboltable.h', |
| 528 | 'media/devices/linuxdeviceinfo.cc', |
| 529 | 'media/devices/linuxdevicemanager.cc', |
| 530 | 'media/devices/linuxdevicemanager.h', |
| 531 | 'media/devices/v4llookup.cc', |
| 532 | 'media/devices/v4llookup.h', |
| 533 | ], |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 534 | 'conditions': [ |
| 535 | ['use_gtk==1', { |
| 536 | 'sources': [ |
| 537 | 'media/devices/gtkvideorenderer.cc', |
| 538 | 'media/devices/gtkvideorenderer.h', |
| 539 | ], |
| 540 | 'cflags': [ |
| 541 | '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)', |
| 542 | ], |
| 543 | }], |
| 544 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 545 | 'include_dirs': [ |
| 546 | 'third_party/libudev' |
| 547 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 548 | 'libraries': [ |
| 549 | '-lrt', |
| 550 | '-lXext', |
| 551 | '-lX11', |
| 552 | ], |
| 553 | }], |
| 554 | ['OS=="win"', { |
| 555 | 'sources': [ |
| 556 | 'media/devices/gdivideorenderer.cc', |
| 557 | 'media/devices/gdivideorenderer.h', |
| 558 | 'media/devices/win32deviceinfo.cc', |
| 559 | 'media/devices/win32devicemanager.cc', |
| 560 | 'media/devices/win32devicemanager.h', |
| 561 | ], |
| 562 | 'msvs_settings': { |
| 563 | 'VCLibrarianTool': { |
| 564 | 'AdditionalDependencies': [ |
| 565 | 'd3d9.lib', |
| 566 | 'gdi32.lib', |
| 567 | 'strmiids.lib', |
| 568 | 'winmm.lib', |
| 569 | ], |
| 570 | }, |
| 571 | }, |
| 572 | }], |
| 573 | ['OS=="mac"', { |
| 574 | 'sources': [ |
| 575 | 'media/devices/macdeviceinfo.cc', |
| 576 | 'media/devices/macdevicemanager.cc', |
| 577 | 'media/devices/macdevicemanager.h', |
| 578 | 'media/devices/macdevicemanagermm.mm', |
| 579 | ], |
| 580 | 'conditions': [ |
| fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame] | 581 | ['target_arch=="ia32"', { |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 582 | 'sources': [ |
| 583 | 'media/devices/carbonvideorenderer.cc', |
| 584 | 'media/devices/carbonvideorenderer.h', |
| 585 | ], |
| fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame] | 586 | 'link_settings': { |
| 587 | 'xcode_settings': { |
| 588 | 'OTHER_LDFLAGS': [ |
| 589 | '-framework Carbon', |
| 590 | ], |
| 591 | }, |
| 592 | }, |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 593 | }], |
| 594 | ], |
| 595 | 'xcode_settings': { |
| 596 | 'WARNING_CFLAGS': [ |
| 597 | # TODO(ronghuawu): Update macdevicemanager.cc to stop using |
| 598 | # deprecated functions and remove this flag. |
| 599 | '-Wno-deprecated-declarations', |
| 600 | ], |
| 601 | }, |
| 602 | 'link_settings': { |
| 603 | 'xcode_settings': { |
| 604 | 'OTHER_LDFLAGS': [ |
| buildbot@webrtc.org | a42a3ad | 2014-09-13 01:09:18 +0000 | [diff] [blame] | 605 | '-weak_framework AVFoundation', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 606 | '-framework Cocoa', |
| 607 | '-framework CoreAudio', |
| 608 | '-framework CoreVideo', |
| 609 | '-framework OpenGL', |
| 610 | '-framework QTKit', |
| 611 | ], |
| 612 | }, |
| 613 | }, |
| 614 | }], |
| 615 | ['OS=="ios"', { |
| 616 | 'sources': [ |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 617 | 'media/devices/mobiledevicemanager.cc', |
| 618 | ], |
| 619 | 'include_dirs': [ |
| 620 | # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in |
| 621 | # libjpeg which pulls in libyuv which currently disabled. |
| 622 | '../third_party/libyuv/include', |
| 623 | ], |
| 624 | }], |
| 625 | ['OS=="android"', { |
| 626 | 'sources': [ |
| 627 | 'media/devices/mobiledevicemanager.cc', |
| 628 | ], |
| 629 | }], |
| 630 | ], |
| 631 | }, # target libjingle_media |
| 632 | { |
| 633 | 'target_name': 'libjingle_p2p', |
| 634 | 'type': 'static_library', |
| 635 | 'dependencies': [ |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 636 | 'libjingle', |
| 637 | 'libjingle_media', |
| 638 | ], |
| Henrik Kjellander | e6cefb6 | 2015-04-27 14:39:04 +0200 | [diff] [blame^] | 639 | 'conditions': [ |
| 640 | ['build_libsrtp==1', { |
| 641 | 'dependencies': [ |
| 642 | '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', |
| 643 | ], |
| 644 | }], |
| 645 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 646 | 'include_dirs': [ |
| henrike@webrtc.org | 723d683 | 2013-07-12 16:04:50 +0000 | [diff] [blame] | 647 | '<(DEPTH)/testing/gtest/include', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 648 | ], |
| 649 | 'direct_dependent_settings': { |
| 650 | 'include_dirs': [ |
| henrike@webrtc.org | 723d683 | 2013-07-12 16:04:50 +0000 | [diff] [blame] | 651 | '<(DEPTH)/testing/gtest/include', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 652 | ], |
| 653 | }, |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 654 | 'sources': [ |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 655 | 'session/media/audiomonitor.cc', |
| 656 | 'session/media/audiomonitor.h', |
| buildbot@webrtc.org | 5ee0f05 | 2014-05-05 20:18:08 +0000 | [diff] [blame] | 657 | 'session/media/bundlefilter.cc', |
| 658 | 'session/media/bundlefilter.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 659 | 'session/media/channel.cc', |
| 660 | 'session/media/channel.h', |
| 661 | 'session/media/channelmanager.cc', |
| 662 | 'session/media/channelmanager.h', |
| 663 | 'session/media/currentspeakermonitor.cc', |
| 664 | 'session/media/currentspeakermonitor.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 665 | 'session/media/mediamonitor.cc', |
| 666 | 'session/media/mediamonitor.h', |
| 667 | 'session/media/mediarecorder.cc', |
| 668 | 'session/media/mediarecorder.h', |
| 669 | 'session/media/mediasession.cc', |
| 670 | 'session/media/mediasession.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 671 | 'session/media/mediasink.h', |
| 672 | 'session/media/rtcpmuxfilter.cc', |
| 673 | 'session/media/rtcpmuxfilter.h', |
| 674 | 'session/media/soundclip.cc', |
| 675 | 'session/media/soundclip.h', |
| 676 | 'session/media/srtpfilter.cc', |
| 677 | 'session/media/srtpfilter.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 678 | 'session/media/typingmonitor.cc', |
| 679 | 'session/media/typingmonitor.h', |
| 680 | 'session/media/voicechannel.h', |
| 681 | ], |
| 682 | }, # target libjingle_p2p |
| 683 | { |
| 684 | 'target_name': 'libjingle_peerconnection', |
| 685 | 'type': 'static_library', |
| 686 | 'dependencies': [ |
| 687 | 'libjingle', |
| 688 | 'libjingle_media', |
| 689 | 'libjingle_p2p', |
| 690 | ], |
| 691 | 'sources': [ |
| 692 | 'app/webrtc/audiotrack.cc', |
| 693 | 'app/webrtc/audiotrack.h', |
| 694 | 'app/webrtc/audiotrackrenderer.cc', |
| 695 | 'app/webrtc/audiotrackrenderer.h', |
| 696 | 'app/webrtc/datachannel.cc', |
| 697 | 'app/webrtc/datachannel.h', |
| 698 | 'app/webrtc/datachannelinterface.h', |
| jiayl@webrtc.org | 2548406 | 2015-02-18 23:58:16 +0000 | [diff] [blame] | 699 | 'app/webrtc/dtlsidentityservice.cc', |
| 700 | 'app/webrtc/dtlsidentityservice.h', |
| 701 | 'app/webrtc/dtlsidentitystore.cc', |
| 702 | 'app/webrtc/dtlsidentitystore.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 703 | 'app/webrtc/dtmfsender.cc', |
| 704 | 'app/webrtc/dtmfsender.h', |
| 705 | 'app/webrtc/dtmfsenderinterface.h', |
| 706 | 'app/webrtc/fakeportallocatorfactory.h', |
| 707 | 'app/webrtc/jsep.h', |
| 708 | 'app/webrtc/jsepicecandidate.cc', |
| 709 | 'app/webrtc/jsepicecandidate.h', |
| 710 | 'app/webrtc/jsepsessiondescription.cc', |
| 711 | 'app/webrtc/jsepsessiondescription.h', |
| 712 | 'app/webrtc/localaudiosource.cc', |
| 713 | 'app/webrtc/localaudiosource.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 714 | 'app/webrtc/mediaconstraintsinterface.cc', |
| 715 | 'app/webrtc/mediaconstraintsinterface.h', |
| 716 | 'app/webrtc/mediastream.cc', |
| 717 | 'app/webrtc/mediastream.h', |
| 718 | 'app/webrtc/mediastreamhandler.cc', |
| 719 | 'app/webrtc/mediastreamhandler.h', |
| 720 | 'app/webrtc/mediastreaminterface.h', |
| 721 | 'app/webrtc/mediastreamprovider.h', |
| 722 | 'app/webrtc/mediastreamproxy.h', |
| 723 | 'app/webrtc/mediastreamsignaling.cc', |
| 724 | 'app/webrtc/mediastreamsignaling.h', |
| 725 | 'app/webrtc/mediastreamtrack.h', |
| 726 | 'app/webrtc/mediastreamtrackproxy.h', |
| 727 | 'app/webrtc/notifier.h', |
| 728 | 'app/webrtc/peerconnection.cc', |
| 729 | 'app/webrtc/peerconnection.h', |
| 730 | 'app/webrtc/peerconnectionfactory.cc', |
| 731 | 'app/webrtc/peerconnectionfactory.h', |
| perkj@webrtc.org | 81134d0 | 2015-01-12 08:30:16 +0000 | [diff] [blame] | 732 | 'app/webrtc/peerconnectionfactoryproxy.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 733 | 'app/webrtc/peerconnectioninterface.h', |
| 734 | 'app/webrtc/peerconnectionproxy.h', |
| 735 | 'app/webrtc/portallocatorfactory.cc', |
| 736 | 'app/webrtc/portallocatorfactory.h', |
| 737 | 'app/webrtc/proxy.h', |
| wu@webrtc.org | b9a088b | 2014-02-13 23:18:49 +0000 | [diff] [blame] | 738 | 'app/webrtc/remoteaudiosource.cc', |
| 739 | 'app/webrtc/remoteaudiosource.h', |
| wu@webrtc.org | 967bfff | 2013-09-19 05:49:50 +0000 | [diff] [blame] | 740 | 'app/webrtc/remotevideocapturer.cc', |
| 741 | 'app/webrtc/remotevideocapturer.h', |
| henrika@webrtc.org | aebb1ad | 2014-01-14 10:00:58 +0000 | [diff] [blame] | 742 | 'app/webrtc/sctputils.cc', |
| 743 | 'app/webrtc/sctputils.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 744 | 'app/webrtc/statscollector.cc', |
| 745 | 'app/webrtc/statscollector.h', |
| tommi@webrtc.org | 5c3ee4b | 2014-12-09 10:47:01 +0000 | [diff] [blame] | 746 | 'app/webrtc/statstypes.cc', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 747 | 'app/webrtc/statstypes.h', |
| 748 | 'app/webrtc/streamcollection.h', |
| wu@webrtc.org | 967bfff | 2013-09-19 05:49:50 +0000 | [diff] [blame] | 749 | 'app/webrtc/videosource.cc', |
| 750 | 'app/webrtc/videosource.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 751 | 'app/webrtc/videosourceinterface.h', |
| 752 | 'app/webrtc/videosourceproxy.h', |
| 753 | 'app/webrtc/videotrack.cc', |
| 754 | 'app/webrtc/videotrack.h', |
| 755 | 'app/webrtc/videotrackrenderers.cc', |
| 756 | 'app/webrtc/videotrackrenderers.h', |
| 757 | 'app/webrtc/webrtcsdp.cc', |
| 758 | 'app/webrtc/webrtcsdp.h', |
| 759 | 'app/webrtc/webrtcsession.cc', |
| 760 | 'app/webrtc/webrtcsession.h', |
| wu@webrtc.org | 91053e7 | 2013-08-10 07:18:04 +0000 | [diff] [blame] | 761 | 'app/webrtc/webrtcsessiondescriptionfactory.cc', |
| 762 | 'app/webrtc/webrtcsessiondescriptionfactory.h', |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 763 | ], |
| perkj@webrtc.org | 83bc721 | 2015-02-11 11:26:56 +0000 | [diff] [blame] | 764 | 'conditions': [ |
| 765 | ['OS=="android" and build_with_chromium==0', { |
| 766 | 'sources': [ |
| 767 | 'app/webrtc/androidvideocapturer.h', |
| 768 | 'app/webrtc/androidvideocapturer.cc', |
| 769 | ], |
| 770 | }], |
| 771 | ], |
| henrike@webrtc.org | 28e2075 | 2013-07-10 00:45:36 +0000 | [diff] [blame] | 772 | }, # target libjingle_peerconnection |
| 773 | ], |
| 774 | } |