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