OLD | NEW |
---|---|
1 # | 1 # |
2 # libjingle | 2 # Copyright 2012 The WebRTC Project Authors. All rights reserved. |
tkchin_webrtc
2015/07/22 21:08:21
I don't think we're allowed to change copyright no
Andrew MacDonald
2015/07/22 22:06:49
In any case, you definitely shouldn't mix license
decurtis_webrtc
2015/07/27 17:24:18
Done.
| |
3 # Copyright 2012 Google Inc. | |
4 # | 3 # |
5 # Redistribution and use in source and binary forms, with or without | 4 # Use of this source code is governed by a BSD-style license |
6 # modification, are permitted provided that the following conditions are met: | 5 # that can be found in the LICENSE file in the root of the source |
7 # | 6 # tree. An additional intellectual property rights grant can be found |
8 # 1. Redistributions of source code must retain the above copyright notice, | 7 # in the file PATENTS. All contributing project authors may |
9 # this list of conditions and the following disclaimer. | 8 # be found in the AUTHORS file in the root of the source tree. |
10 # 2. Redistributions in binary form must reproduce the above copyright notice, | 9 # 2. Redistributions in binary form must reproduce the above copyright notice, |
11 # this list of conditions and the following disclaimer in the documentation | 10 # this list of conditions and the following disclaimer in the documentation |
12 # and/or other materials provided with the distribution. | 11 # and/or other materials provided with the distribution. |
13 # 3. The name of the author may not be used to endorse or promote products | 12 # 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. | 13 # derived from this software without specific prior written permission. |
15 # | 14 # |
16 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | 15 # 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 | 16 # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
18 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | 17 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
19 # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 18 # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
20 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 19 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
21 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 20 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
22 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 21 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
23 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 22 # 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 | 23 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
25 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | 25 |
27 { | 26 { |
28 'includes': [ | 27 'includes': [ |
29 'build/common.gypi', | 28 '../talk/build/common.gypi', |
30 ], | 29 ], |
31 'targets': [ | 30 'targets': [ |
32 { | 31 { |
33 'target_name': 'relayserver', | 32 'target_name': 'relayserver', |
34 'type': 'executable', | 33 'type': 'executable', |
35 'dependencies': [ | 34 'dependencies': [ |
36 'libjingle.gyp:libjingle', | 35 '../talk/libjingle.gyp:libjingle', |
37 'libjingle.gyp:libjingle_p2p', | 36 '../talk/libjingle.gyp:libjingle_p2p', |
38 ], | 37 ], |
39 'sources': [ | 38 'sources': [ |
40 'examples/relayserver/relayserver_main.cc', | 39 'examples/relayserver/relayserver_main.cc', |
41 ], | 40 ], |
42 }, # target relayserver | 41 }, # target relayserver |
43 { | 42 { |
44 'target_name': 'stunserver', | 43 'target_name': 'stunserver', |
45 'type': 'executable', | 44 'type': 'executable', |
46 'dependencies': [ | 45 'dependencies': [ |
47 'libjingle.gyp:libjingle', | 46 '../talk/libjingle.gyp:libjingle', |
48 'libjingle.gyp:libjingle_p2p', | 47 '../talk/libjingle.gyp:libjingle_p2p', |
49 ], | 48 ], |
50 'sources': [ | 49 'sources': [ |
51 'examples/stunserver/stunserver_main.cc', | 50 'examples/stunserver/stunserver_main.cc', |
52 ], | 51 ], |
53 }, # target stunserver | 52 }, # target stunserver |
54 { | 53 { |
55 'target_name': 'turnserver', | 54 'target_name': 'turnserver', |
56 'type': 'executable', | 55 'type': 'executable', |
57 'dependencies': [ | 56 'dependencies': [ |
58 'libjingle.gyp:libjingle', | 57 '../talk/libjingle.gyp:libjingle', |
59 'libjingle.gyp:libjingle_p2p', | 58 '../talk/libjingle.gyp:libjingle_p2p', |
60 ], | 59 ], |
61 'sources': [ | 60 'sources': [ |
62 'examples/turnserver/turnserver_main.cc', | 61 'examples/turnserver/turnserver_main.cc', |
63 ], | 62 ], |
64 }, # target turnserver | 63 }, # target turnserver |
65 { | 64 { |
66 'target_name': 'peerconnection_server', | 65 'target_name': 'peerconnection_server', |
67 'type': 'executable', | 66 'type': 'executable', |
68 'sources': [ | 67 'sources': [ |
69 'examples/peerconnection/server/data_socket.cc', | 68 'examples/peerconnection/server/data_socket.cc', |
70 'examples/peerconnection/server/data_socket.h', | 69 'examples/peerconnection/server/data_socket.h', |
71 'examples/peerconnection/server/main.cc', | 70 'examples/peerconnection/server/main.cc', |
72 'examples/peerconnection/server/peer_channel.cc', | 71 'examples/peerconnection/server/peer_channel.cc', |
73 'examples/peerconnection/server/peer_channel.h', | 72 'examples/peerconnection/server/peer_channel.h', |
74 'examples/peerconnection/server/utils.cc', | 73 'examples/peerconnection/server/utils.cc', |
75 'examples/peerconnection/server/utils.h', | 74 'examples/peerconnection/server/utils.h', |
76 ], | 75 ], |
77 'dependencies': [ | 76 'dependencies': [ |
78 '<(webrtc_root)/common.gyp:webrtc_common', | 77 '<(webrtc_root)/common.gyp:webrtc_common', |
79 'libjingle.gyp:libjingle', | 78 '../talk/libjingle.gyp:libjingle', |
80 ], | 79 ], |
81 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations. | 80 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations. |
82 'msvs_disabled_warnings': [ 4309, ], | 81 'msvs_disabled_warnings': [ 4309, ], |
83 }, # target peerconnection_server | 82 }, # target peerconnection_server |
84 ], | 83 ], |
85 'conditions': [ | 84 'conditions': [ |
86 ['OS=="linux" or OS=="win"', { | 85 ['OS=="linux" or OS=="win"', { |
87 'targets': [ | 86 'targets': [ |
88 { | 87 { |
89 'target_name': 'peerconnection_client', | 88 'target_name': 'peerconnection_client', |
90 'type': 'executable', | 89 'type': 'executable', |
91 'sources': [ | 90 'sources': [ |
92 'examples/peerconnection/client/conductor.cc', | 91 'examples/peerconnection/client/conductor.cc', |
93 'examples/peerconnection/client/conductor.h', | 92 'examples/peerconnection/client/conductor.h', |
94 'examples/peerconnection/client/defaults.cc', | 93 'examples/peerconnection/client/defaults.cc', |
95 'examples/peerconnection/client/defaults.h', | 94 'examples/peerconnection/client/defaults.h', |
96 'examples/peerconnection/client/peer_connection_client.cc', | 95 'examples/peerconnection/client/peer_connection_client.cc', |
97 'examples/peerconnection/client/peer_connection_client.h', | 96 'examples/peerconnection/client/peer_connection_client.h', |
98 ], | 97 ], |
99 'dependencies': [ | 98 'dependencies': [ |
100 'libjingle.gyp:libjingle_peerconnection', | 99 '../talk/libjingle.gyp:libjingle_peerconnection', |
101 '<@(libjingle_tests_additional_deps)', | 100 '<@(libjingle_tests_additional_deps)', |
102 ], | 101 ], |
103 'conditions': [ | 102 'conditions': [ |
104 ['build_json==1', { | 103 ['build_json==1', { |
105 'dependencies': [ | 104 'dependencies': [ |
106 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', | 105 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', |
107 ], | 106 ], |
108 }], | 107 }], |
109 # TODO(ronghuawu): Move these files to a win/ directory then they | 108 # TODO(ronghuawu): Move these files to a win/ directory then they |
110 # can be excluded automatically. | 109 # can be excluded automatically. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 'MACOSX_DEPLOYMENT_TARGET' : '10.8', | 174 'MACOSX_DEPLOYMENT_TARGET' : '10.8', |
176 }, | 175 }, |
177 }], | 176 }], |
178 ], | 177 ], |
179 }, | 178 }, |
180 { | 179 { |
181 'target_name': 'apprtc_signaling', | 180 'target_name': 'apprtc_signaling', |
182 'type': 'static_library', | 181 'type': 'static_library', |
183 'dependencies': [ | 182 'dependencies': [ |
184 'apprtc_common', | 183 'apprtc_common', |
185 'libjingle.gyp:libjingle_peerconnection_objc', | 184 '../talk/libjingle.gyp:libjingle_peerconnection_objc', |
186 'socketrocket', | 185 'socketrocket', |
187 ], | 186 ], |
188 'sources': [ | 187 'sources': [ |
189 'examples/objc/AppRTCDemo/ARDAppClient.h', | 188 'examples/objc/AppRTCDemo/ARDAppClient.h', |
190 'examples/objc/AppRTCDemo/ARDAppClient.m', | 189 'examples/objc/AppRTCDemo/ARDAppClient.m', |
191 'examples/objc/AppRTCDemo/ARDAppClient+Internal.h', | 190 'examples/objc/AppRTCDemo/ARDAppClient+Internal.h', |
192 'examples/objc/AppRTCDemo/ARDAppEngineClient.h', | 191 'examples/objc/AppRTCDemo/ARDAppEngineClient.h', |
193 'examples/objc/AppRTCDemo/ARDAppEngineClient.m', | 192 'examples/objc/AppRTCDemo/ARDAppEngineClient.m', |
194 'examples/objc/AppRTCDemo/ARDCEODTURNClient.h', | 193 'examples/objc/AppRTCDemo/ARDCEODTURNClient.h', |
195 'examples/objc/AppRTCDemo/ARDCEODTURNClient.m', | 194 'examples/objc/AppRTCDemo/ARDCEODTURNClient.m', |
(...skipping 23 matching lines...) Expand all Loading... | |
219 ], | 218 ], |
220 'include_dirs': [ | 219 'include_dirs': [ |
221 'examples/objc/AppRTCDemo', | 220 'examples/objc/AppRTCDemo', |
222 ], | 221 ], |
223 'direct_dependent_settings': { | 222 'direct_dependent_settings': { |
224 'include_dirs': [ | 223 'include_dirs': [ |
225 'examples/objc/AppRTCDemo', | 224 'examples/objc/AppRTCDemo', |
226 ], | 225 ], |
227 }, | 226 }, |
228 'export_dependent_settings': [ | 227 'export_dependent_settings': [ |
229 'libjingle.gyp:libjingle_peerconnection_objc', | 228 '../talk/libjingle.gyp:libjingle_peerconnection_objc', |
230 ], | 229 ], |
231 'conditions': [ | 230 'conditions': [ |
232 ['OS=="mac"', { | 231 ['OS=="mac"', { |
233 'xcode_settings': { | 232 'xcode_settings': { |
234 'MACOSX_DEPLOYMENT_TARGET' : '10.8', | 233 'MACOSX_DEPLOYMENT_TARGET' : '10.8', |
235 }, | 234 }, |
236 }], | 235 }], |
237 ], | 236 ], |
238 }, | 237 }, |
239 { | 238 { |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
350 }, # target socketrocket | 349 }, # target socketrocket |
351 ], # targets | 350 ], # targets |
352 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8") | 351 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8") |
353 | 352 |
354 ['OS=="android"', { | 353 ['OS=="android"', { |
355 'targets': [ | 354 'targets': [ |
356 { | 355 { |
357 'target_name': 'AppRTCDemo', | 356 'target_name': 'AppRTCDemo', |
358 'type': 'none', | 357 'type': 'none', |
359 'dependencies': [ | 358 'dependencies': [ |
360 'libjingle.gyp:libjingle_peerconnection_java', | 359 '../talk/libjingle.gyp:libjingle_peerconnection_java', |
361 ], | 360 ], |
362 'variables': { | 361 'variables': { |
363 'apk_name': 'AppRTCDemo', | 362 'apk_name': 'AppRTCDemo', |
364 'java_in_dir': 'examples/android', | 363 'java_in_dir': 'examples/androidapp', |
365 'has_java_resources': 1, | 364 'has_java_resources': 1, |
366 'resource_dir': 'examples/android/res', | 365 'resource_dir': 'examples/androidapp/res', |
367 'R_package': 'org.appspot.apprtc', | 366 'R_package': 'org.appspot.apprtc', |
368 'R_package_relpath': 'org/appspot/apprtc', | 367 'R_package_relpath': 'org/appspot/apprtc', |
369 'input_jars_paths': [ | 368 'input_jars_paths': [ |
370 'examples/android/third_party/autobanh/autobanh.jar', | 369 'examples/androidapp/third_party/autobanh/autobanh.jar', |
371 ], | 370 ], |
372 'library_dexed_jars_paths': [ | 371 'library_dexed_jars_paths': [ |
373 'examples/android/third_party/autobanh/autobanh.jar', | 372 'examples/androidapp/third_party/autobanh/autobanh.jar', |
374 ], | 373 ], |
375 'native_lib_target': 'libjingle_peerconnection_so', | 374 'native_lib_target': 'libjingle_peerconnection_so', |
376 'add_to_dependents_classpaths':1, | 375 'add_to_dependents_classpaths':1, |
377 }, | 376 }, |
378 'includes': [ '../build/java_apk.gypi' ], | 377 'includes': [ '../build/java_apk.gypi' ], |
379 }, # target AppRTCDemo | 378 }, # target AppRTCDemo |
380 | 379 |
381 { | 380 { |
382 # AppRTCDemo creates a .jar as a side effect. Any java targets | 381 # AppRTCDemo creates a .jar as a side effect. Any java targets |
383 # that need that .jar in their classpath should depend on this target, | 382 # that need that .jar in their classpath should depend on this target, |
(...skipping 19 matching lines...) Expand all Loading... | |
403 'apk_name': 'AppRTCDemoTest', | 402 'apk_name': 'AppRTCDemoTest', |
404 'java_in_dir': 'examples/androidtests', | 403 'java_in_dir': 'examples/androidtests', |
405 'is_test_apk': 1, | 404 'is_test_apk': 1, |
406 }, | 405 }, |
407 'includes': [ '../build/java_apk.gypi' ], | 406 'includes': [ '../build/java_apk.gypi' ], |
408 }, | 407 }, |
409 ], # targets | 408 ], # targets |
410 }], # OS=="android" | 409 }], # OS=="android" |
411 ], | 410 ], |
412 } | 411 } |
OLD | NEW |