Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: webrtc/libjingle_examples.gyp

Issue 1235563006: Move talk/examples/* to webrtc/examples. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 201508051337 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/examples/turnserver/turnserver_main.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # libjingle 2 # Copyright 2012 The WebRTC Project Authors. All rights reserved.
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,
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.
26 9
27 { 10 {
28 'includes': [ 11 'includes': [
29 'build/common.gypi', 12 '../talk/build/common.gypi',
30 ], 13 ],
31 'targets': [ 14 'targets': [
32 { 15 {
33 'target_name': 'relayserver', 16 'target_name': 'relayserver',
34 'type': 'executable', 17 'type': 'executable',
35 'dependencies': [ 18 'dependencies': [
36 'libjingle.gyp:libjingle', 19 '../talk/libjingle.gyp:libjingle',
37 'libjingle.gyp:libjingle_p2p', 20 '../talk/libjingle.gyp:libjingle_p2p',
38 ], 21 ],
39 'sources': [ 22 'sources': [
40 'examples/relayserver/relayserver_main.cc', 23 'examples/relayserver/relayserver_main.cc',
41 ], 24 ],
42 }, # target relayserver 25 }, # target relayserver
43 { 26 {
44 'target_name': 'stunserver', 27 'target_name': 'stunserver',
45 'type': 'executable', 28 'type': 'executable',
46 'dependencies': [ 29 'dependencies': [
47 'libjingle.gyp:libjingle', 30 '../talk/libjingle.gyp:libjingle',
48 'libjingle.gyp:libjingle_p2p', 31 '../talk/libjingle.gyp:libjingle_p2p',
49 ], 32 ],
50 'sources': [ 33 'sources': [
51 'examples/stunserver/stunserver_main.cc', 34 'examples/stunserver/stunserver_main.cc',
52 ], 35 ],
53 }, # target stunserver 36 }, # target stunserver
54 { 37 {
55 'target_name': 'turnserver', 38 'target_name': 'turnserver',
56 'type': 'executable', 39 'type': 'executable',
57 'dependencies': [ 40 'dependencies': [
58 'libjingle.gyp:libjingle', 41 '../talk/libjingle.gyp:libjingle',
59 'libjingle.gyp:libjingle_p2p', 42 '../talk/libjingle.gyp:libjingle_p2p',
60 ], 43 ],
61 'sources': [ 44 'sources': [
62 'examples/turnserver/turnserver_main.cc', 45 'examples/turnserver/turnserver_main.cc',
63 ], 46 ],
64 }, # target turnserver 47 }, # target turnserver
65 { 48 {
66 'target_name': 'peerconnection_server', 49 'target_name': 'peerconnection_server',
67 'type': 'executable', 50 'type': 'executable',
68 'sources': [ 51 'sources': [
69 'examples/peerconnection/server/data_socket.cc', 52 'examples/peerconnection/server/data_socket.cc',
70 'examples/peerconnection/server/data_socket.h', 53 'examples/peerconnection/server/data_socket.h',
71 'examples/peerconnection/server/main.cc', 54 'examples/peerconnection/server/main.cc',
72 'examples/peerconnection/server/peer_channel.cc', 55 'examples/peerconnection/server/peer_channel.cc',
73 'examples/peerconnection/server/peer_channel.h', 56 'examples/peerconnection/server/peer_channel.h',
74 'examples/peerconnection/server/utils.cc', 57 'examples/peerconnection/server/utils.cc',
75 'examples/peerconnection/server/utils.h', 58 'examples/peerconnection/server/utils.h',
76 ], 59 ],
77 'dependencies': [ 60 'dependencies': [
78 '<(webrtc_root)/common.gyp:webrtc_common', 61 '<(webrtc_root)/common.gyp:webrtc_common',
79 'libjingle.gyp:libjingle', 62 '../talk/libjingle.gyp:libjingle',
80 ], 63 ],
81 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations. 64 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations.
82 'msvs_disabled_warnings': [ 4309, ], 65 'msvs_disabled_warnings': [ 4309, ],
83 }, # target peerconnection_server 66 }, # target peerconnection_server
84 ], 67 ],
85 'conditions': [ 68 'conditions': [
86 ['OS=="linux" or OS=="win"', { 69 ['OS=="linux" or OS=="win"', {
87 'targets': [ 70 'targets': [
88 { 71 {
89 'target_name': 'peerconnection_client', 72 'target_name': 'peerconnection_client',
90 'type': 'executable', 73 'type': 'executable',
91 'sources': [ 74 'sources': [
92 'examples/peerconnection/client/conductor.cc', 75 'examples/peerconnection/client/conductor.cc',
93 'examples/peerconnection/client/conductor.h', 76 'examples/peerconnection/client/conductor.h',
94 'examples/peerconnection/client/defaults.cc', 77 'examples/peerconnection/client/defaults.cc',
95 'examples/peerconnection/client/defaults.h', 78 'examples/peerconnection/client/defaults.h',
96 'examples/peerconnection/client/peer_connection_client.cc', 79 'examples/peerconnection/client/peer_connection_client.cc',
97 'examples/peerconnection/client/peer_connection_client.h', 80 'examples/peerconnection/client/peer_connection_client.h',
98 ], 81 ],
99 'dependencies': [ 82 'dependencies': [
100 'libjingle.gyp:libjingle_peerconnection', 83 '../talk/libjingle.gyp:libjingle_peerconnection',
101 '<@(libjingle_tests_additional_deps)', 84 '<@(libjingle_tests_additional_deps)',
102 ], 85 ],
103 'conditions': [ 86 'conditions': [
104 ['build_json==1', { 87 ['build_json==1', {
105 'dependencies': [ 88 'dependencies': [
106 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', 89 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
107 ], 90 ],
108 }], 91 }],
109 # TODO(ronghuawu): Move these files to a win/ directory then they 92 # TODO(ronghuawu): Move these files to a win/ directory then they
110 # can be excluded automatically. 93 # can be excluded automatically.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 }, # target peerconnection_client 132 }, # target peerconnection_client
150 ], # targets 133 ], # targets
151 }], # OS=="linux" or OS=="win" 134 }], # OS=="linux" or OS=="win"
152 135
153 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")', { 136 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")', {
154 'targets': [ 137 'targets': [
155 { 138 {
156 'target_name': 'apprtc_common', 139 'target_name': 'apprtc_common',
157 'type': 'static_library', 140 'type': 'static_library',
158 'dependencies': [ 141 'dependencies': [
159 'libjingle.gyp:libjingle_peerconnection_objc', 142 '../talk/libjingle.gyp:libjingle_peerconnection_objc',
160 ], 143 ],
161 'sources': [ 144 'sources': [
162 'examples/objc/AppRTCDemo/common/ARDUtilities.h', 145 'examples/objc/AppRTCDemo/common/ARDUtilities.h',
163 'examples/objc/AppRTCDemo/common/ARDUtilities.m', 146 'examples/objc/AppRTCDemo/common/ARDUtilities.m',
164 ], 147 ],
165 'include_dirs': [ 148 'include_dirs': [
166 'examples/objc/AppRTCDemo/common', 149 'examples/objc/AppRTCDemo/common',
167 ], 150 ],
168 'direct_dependent_settings': { 151 'direct_dependent_settings': {
169 'include_dirs': [ 152 'include_dirs': [
170 'examples/objc/AppRTCDemo/common', 153 'examples/objc/AppRTCDemo/common',
171 ], 154 ],
172 }, 155 },
173 'conditions': [ 156 'conditions': [
174 ['OS=="mac"', { 157 ['OS=="mac"', {
175 'xcode_settings': { 158 'xcode_settings': {
176 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 159 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
177 }, 160 },
178 }], 161 }],
179 ], 162 ],
180 }, 163 },
181 { 164 {
182 'target_name': 'apprtc_signaling', 165 'target_name': 'apprtc_signaling',
183 'type': 'static_library', 166 'type': 'static_library',
184 'dependencies': [ 167 'dependencies': [
185 'apprtc_common', 168 'apprtc_common',
186 'libjingle.gyp:libjingle_peerconnection_objc', 169 '../talk/libjingle.gyp:libjingle_peerconnection_objc',
187 'socketrocket', 170 'socketrocket',
188 ], 171 ],
189 'sources': [ 172 'sources': [
190 'examples/objc/AppRTCDemo/ARDAppClient.h', 173 'examples/objc/AppRTCDemo/ARDAppClient.h',
191 'examples/objc/AppRTCDemo/ARDAppClient.m', 174 'examples/objc/AppRTCDemo/ARDAppClient.m',
192 'examples/objc/AppRTCDemo/ARDAppClient+Internal.h', 175 'examples/objc/AppRTCDemo/ARDAppClient+Internal.h',
193 'examples/objc/AppRTCDemo/ARDAppEngineClient.h', 176 'examples/objc/AppRTCDemo/ARDAppEngineClient.h',
194 'examples/objc/AppRTCDemo/ARDAppEngineClient.m', 177 'examples/objc/AppRTCDemo/ARDAppEngineClient.m',
195 'examples/objc/AppRTCDemo/ARDCEODTURNClient.h', 178 'examples/objc/AppRTCDemo/ARDCEODTURNClient.h',
196 'examples/objc/AppRTCDemo/ARDCEODTURNClient.m', 179 'examples/objc/AppRTCDemo/ARDCEODTURNClient.m',
(...skipping 23 matching lines...) Expand all
220 ], 203 ],
221 'include_dirs': [ 204 'include_dirs': [
222 'examples/objc/AppRTCDemo', 205 'examples/objc/AppRTCDemo',
223 ], 206 ],
224 'direct_dependent_settings': { 207 'direct_dependent_settings': {
225 'include_dirs': [ 208 'include_dirs': [
226 'examples/objc/AppRTCDemo', 209 'examples/objc/AppRTCDemo',
227 ], 210 ],
228 }, 211 },
229 'export_dependent_settings': [ 212 'export_dependent_settings': [
230 'libjingle.gyp:libjingle_peerconnection_objc', 213 '../talk/libjingle.gyp:libjingle_peerconnection_objc',
231 ], 214 ],
232 'conditions': [ 215 'conditions': [
233 ['OS=="mac"', { 216 ['OS=="mac"', {
234 'xcode_settings': { 217 'xcode_settings': {
235 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 218 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
236 }, 219 },
237 }], 220 }],
238 ], 221 ],
239 }, 222 },
240 { 223 {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 }, # target socketrocket 334 }, # target socketrocket
352 ], # targets 335 ], # targets
353 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8") 336 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")
354 337
355 ['OS=="android"', { 338 ['OS=="android"', {
356 'targets': [ 339 'targets': [
357 { 340 {
358 'target_name': 'AppRTCDemo', 341 'target_name': 'AppRTCDemo',
359 'type': 'none', 342 'type': 'none',
360 'dependencies': [ 343 'dependencies': [
361 'libjingle.gyp:libjingle_peerconnection_java', 344 '../talk/libjingle.gyp:libjingle_peerconnection_java',
362 ], 345 ],
363 'variables': { 346 'variables': {
364 'apk_name': 'AppRTCDemo', 347 'apk_name': 'AppRTCDemo',
365 'java_in_dir': 'examples/android', 348 'java_in_dir': 'examples/androidapp',
366 'has_java_resources': 1, 349 'has_java_resources': 1,
367 'resource_dir': 'examples/android/res', 350 'resource_dir': 'examples/androidapp/res',
368 'R_package': 'org.appspot.apprtc', 351 'R_package': 'org.appspot.apprtc',
369 'R_package_relpath': 'org/appspot/apprtc', 352 'R_package_relpath': 'org/appspot/apprtc',
370 'input_jars_paths': [ 353 'input_jars_paths': [
371 'examples/android/third_party/autobanh/autobanh.jar', 354 'examples/androidapp/third_party/autobanh/autobanh.jar',
372 ], 355 ],
373 'library_dexed_jars_paths': [ 356 'library_dexed_jars_paths': [
374 'examples/android/third_party/autobanh/autobanh.jar', 357 'examples/androidapp/third_party/autobanh/autobanh.jar',
375 ], 358 ],
376 'native_lib_target': 'libjingle_peerconnection_so', 359 'native_lib_target': 'libjingle_peerconnection_so',
377 'add_to_dependents_classpaths':1, 360 'add_to_dependents_classpaths':1,
378 }, 361 },
379 'includes': [ '../build/java_apk.gypi' ], 362 'includes': [ '../build/java_apk.gypi' ],
380 }, # target AppRTCDemo 363 }, # target AppRTCDemo
381 364
382 { 365 {
383 # AppRTCDemo creates a .jar as a side effect. Any java targets 366 # AppRTCDemo creates a .jar as a side effect. Any java targets
384 # that need that .jar in their classpath should depend on this target, 367 # that need that .jar in their classpath should depend on this target,
(...skipping 19 matching lines...) Expand all
404 'apk_name': 'AppRTCDemoTest', 387 'apk_name': 'AppRTCDemoTest',
405 'java_in_dir': 'examples/androidtests', 388 'java_in_dir': 'examples/androidtests',
406 'is_test_apk': 1, 389 'is_test_apk': 1,
407 }, 390 },
408 'includes': [ '../build/java_apk.gypi' ], 391 'includes': [ '../build/java_apk.gypi' ],
409 }, 392 },
410 ], # targets 393 ], # targets
411 }], # OS=="android" 394 }], # OS=="android"
412 ], 395 ],
413 } 396 }
OLDNEW
« no previous file with comments | « webrtc/examples/turnserver/turnserver_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698