blob: 75bc2f7ca07d144c05b8053c6763287c7adf0c59 [file] [log] [blame]
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001#
2# libjingle
3# Copyright 2012, Google Inc.
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.
26#
27
28{
29 'includes': [
30 'build/common.gypi',
31 ],
32 'targets': [
33 {
34 'target_name': 'libjingle_xmpphelp',
35 'type': 'static_library',
36 'dependencies': [
37 '<(DEPTH)/third_party/expat/expat.gyp:expat',
38 'libjingle.gyp:libjingle',
39 'libjingle.gyp:libjingle_p2p',
40 ],
41 'sources': [
henrike@webrtc.org269fb4b2014-10-28 22:20:11 +000042 '<(webrtc_root)/libjingle/xmpp/jingleinfotask.cc',
43 '<(webrtc_root)/libjingle/xmpp/jingleinfotask.h',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000044 ],
45 }, # target libjingle_xmpphelp
46 {
47 'target_name': 'relayserver',
48 'type': 'executable',
49 'dependencies': [
50 'libjingle.gyp:libjingle',
51 'libjingle.gyp:libjingle_p2p',
52 ],
53 'sources': [
henrike@webrtc.org2ce9a642014-01-16 16:49:53 +000054 'examples/relayserver/relayserver_main.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000055 ],
56 }, # target relayserver
57 {
58 'target_name': 'stunserver',
59 'type': 'executable',
60 'dependencies': [
61 'libjingle.gyp:libjingle',
62 'libjingle.gyp:libjingle_p2p',
63 ],
64 'sources': [
henrike@webrtc.org2ce9a642014-01-16 16:49:53 +000065 'examples/stunserver/stunserver_main.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000066 ],
67 }, # target stunserver
68 {
69 'target_name': 'turnserver',
70 'type': 'executable',
71 'dependencies': [
72 'libjingle.gyp:libjingle',
73 'libjingle.gyp:libjingle_p2p',
74 ],
75 'sources': [
henrike@webrtc.org2ce9a642014-01-16 16:49:53 +000076 'examples/turnserver/turnserver_main.cc',
henrike@webrtc.org28e20752013-07-10 00:45:36 +000077 ],
78 }, # target turnserver
79 {
80 'target_name': 'login',
81 'type': 'executable',
82 'dependencies': [
83 'libjingle_xmpphelp',
84 ],
85 'sources': [
86 'examples/login/login_main.cc',
87 ],
88 }, # target login
89 {
90 'target_name': 'peerconnection_server',
91 'type': 'executable',
92 'sources': [
93 'examples/peerconnection/server/data_socket.cc',
94 'examples/peerconnection/server/data_socket.h',
95 'examples/peerconnection/server/main.cc',
96 'examples/peerconnection/server/peer_channel.cc',
97 'examples/peerconnection/server/peer_channel.h',
98 'examples/peerconnection/server/utils.cc',
99 'examples/peerconnection/server/utils.h',
100 ],
101 'dependencies': [
102 'libjingle.gyp:libjingle',
103 ],
104 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations.
105 'msvs_disabled_warnings': [ 4309, ],
106 }, # target peerconnection_server
107 ],
108 'conditions': [
109 # TODO(ronghuawu): Reenable building call.
110 # ['OS!="android"', {
111 # 'targets': [
112 # {
113 # 'target_name': 'call',
114 # 'type': 'executable',
115 # 'dependencies': [
116 # 'libjingle.gyp:libjingle_p2p',
117 # 'libjingle_xmpphelp',
118 # ],
119 # 'sources': [
120 # 'examples/call/call_main.cc',
121 # 'examples/call/callclient.cc',
122 # 'examples/call/callclient.h',
123 # 'examples/call/console.cc',
124 # 'examples/call/console.h',
125 # 'examples/call/friendinvitesendtask.cc',
126 # 'examples/call/friendinvitesendtask.h',
127 # 'examples/call/mediaenginefactory.cc',
128 # 'examples/call/mediaenginefactory.h',
129 # 'examples/call/muc.h',
130 # 'examples/call/mucinviterecvtask.cc',
131 # 'examples/call/mucinviterecvtask.h',
132 # 'examples/call/mucinvitesendtask.cc',
133 # 'examples/call/mucinvitesendtask.h',
134 # 'examples/call/presencepushtask.cc',
135 # 'examples/call/presencepushtask.h',
136 # ],
137 # 'conditions': [
138 # ['OS=="linux"', {
139 # 'link_settings': {
140 # 'libraries': [
141 # '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0'
142 # ' gtk+-2.0)',
143 # ],
144 # },
145 # }],
146 # ['OS=="win"', {
147 # 'msvs_settings': {
148 # 'VCLinkerTool': {
149 # 'AdditionalDependencies': [
150 # 'strmiids.lib',
151 # ],
152 # },
153 # },
154 # }],
155 # ], # conditions
156 # }, # target call
157 # ], # targets
158 # }], # OS!="android"
159 ['OS=="linux" or OS=="win"', {
160 'targets': [
161 {
162 'target_name': 'peerconnection_client',
163 'type': 'executable',
164 'sources': [
165 'examples/peerconnection/client/conductor.cc',
166 'examples/peerconnection/client/conductor.h',
167 'examples/peerconnection/client/defaults.cc',
168 'examples/peerconnection/client/defaults.h',
169 'examples/peerconnection/client/peer_connection_client.cc',
170 'examples/peerconnection/client/peer_connection_client.h',
171 ],
172 'dependencies': [
173 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
174 'libjingle.gyp:libjingle_peerconnection',
buildbot@webrtc.org21b4da82014-07-23 19:07:53 +0000175 '<@(libjingle_tests_additional_deps)',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000176 ],
177 'conditions': [
178 # TODO(ronghuawu): Move these files to a win/ directory then they
179 # can be excluded automatically.
180 ['OS=="win"', {
181 'sources': [
182 'examples/peerconnection/client/flagdefs.h',
183 'examples/peerconnection/client/main.cc',
184 'examples/peerconnection/client/main_wnd.cc',
185 'examples/peerconnection/client/main_wnd.h',
186 ],
187 'msvs_settings': {
188 'VCLinkerTool': {
189 'SubSystem': '2', # Windows
190 },
191 },
192 }], # OS=="win"
193 ['OS=="linux"', {
194 'sources': [
195 'examples/peerconnection/client/linux/main.cc',
196 'examples/peerconnection/client/linux/main_wnd.cc',
197 'examples/peerconnection/client/linux/main_wnd.h',
198 ],
199 'cflags': [
200 '<!@(pkg-config --cflags glib-2.0 gobject-2.0 gtk+-2.0)',
201 ],
202 'link_settings': {
203 'ldflags': [
204 '<!@(pkg-config --libs-only-L --libs-only-other glib-2.0'
205 ' gobject-2.0 gthread-2.0 gtk+-2.0)',
206 ],
207 'libraries': [
208 '<!@(pkg-config --libs-only-l glib-2.0 gobject-2.0'
209 ' gthread-2.0 gtk+-2.0)',
210 '-lX11',
211 '-lXcomposite',
212 '-lXext',
213 '-lXrender',
214 ],
215 },
216 }], # OS=="linux"
217 ], # conditions
218 }, # target peerconnection_client
219 ], # targets
220 }], # OS=="linux" or OS=="win"
221
tkchin@webrtc.org56d11462014-05-30 23:04:39 +0000222 ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")', {
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000223 'targets': [
224 {
225 'target_name': 'AppRTCDemo',
226 'type': 'executable',
227 'product_name': 'AppRTCDemo',
228 'mac_bundle': 1,
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000229 'dependencies': [
230 'libjingle.gyp:libjingle_peerconnection_objc',
tkchin@webrtc.org87776a82014-12-09 19:32:35 +0000231 'socketrocket',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000232 ],
233 'conditions': [
tkchin@webrtc.orgacca6752014-05-30 22:26:06 +0000234 ['OS=="ios"', {
235 'mac_bundle_resources': [
236 'examples/objc/AppRTCDemo/ios/ResourceRules.plist',
237 'examples/objc/AppRTCDemo/ios/en.lproj/APPRTCViewController.xib',
238 'examples/objc/Icon.png',
239 ],
240 'sources': [
241 'examples/objc/AppRTCDemo/ios/APPRTCAppDelegate.h',
242 'examples/objc/AppRTCDemo/ios/APPRTCAppDelegate.m',
243 'examples/objc/AppRTCDemo/ios/APPRTCViewController.h',
244 'examples/objc/AppRTCDemo/ios/APPRTCViewController.m',
245 'examples/objc/AppRTCDemo/ios/AppRTCDemo-Prefix.pch',
246 'examples/objc/AppRTCDemo/ios/main.m',
247 ],
248 'xcode_settings': {
249 'INFOPLIST_FILE': 'examples/objc/AppRTCDemo/ios/Info.plist',
250 },
251 }],
252 ['OS=="mac"', {
253 'sources': [
254 'examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.h',
255 'examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m',
256 'examples/objc/AppRTCDemo/mac/APPRTCViewController.h',
257 'examples/objc/AppRTCDemo/mac/APPRTCViewController.m',
258 'examples/objc/AppRTCDemo/mac/main.m',
259 ],
260 'xcode_settings': {
261 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
262 'INFOPLIST_FILE': 'examples/objc/AppRTCDemo/mac/Info.plist',
263 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
264 'OTHER_LDFLAGS': [
265 '-framework AVFoundation',
tkchin@webrtc.orgacca6752014-05-30 22:26:06 +0000266 ],
267 },
268 }],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000269 ['target_arch=="ia32"', {
270 'dependencies' : [
271 '<(DEPTH)/testing/iossim/iossim.gyp:iossim#host',
272 ],
273 }],
274 ],
tkchin@webrtc.orgacca6752014-05-30 22:26:06 +0000275 'include_dirs': [
276 'examples/objc/APPRTCDemo',
277 ],
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000278 'sources': [
tkchin@webrtc.org87776a82014-12-09 19:32:35 +0000279 'examples/objc/AppRTCDemo/ARDAppClient.h',
280 'examples/objc/AppRTCDemo/ARDAppClient.m',
281 'examples/objc/AppRTCDemo/ARDMessageResponse.h',
282 'examples/objc/AppRTCDemo/ARDMessageResponse.m',
283 'examples/objc/AppRTCDemo/ARDRegisterResponse.h',
284 'examples/objc/AppRTCDemo/ARDRegisterResponse.m',
285 'examples/objc/AppRTCDemo/ARDSignalingMessage.h',
286 'examples/objc/AppRTCDemo/ARDSignalingMessage.m',
tkchin@webrtc.org3e9ad262014-11-27 00:52:38 +0000287 'examples/objc/AppRTCDemo/ARDUtilities.h',
288 'examples/objc/AppRTCDemo/ARDUtilities.m',
tkchin@webrtc.org87776a82014-12-09 19:32:35 +0000289 'examples/objc/AppRTCDemo/ARDWebSocketChannel.h',
290 'examples/objc/AppRTCDemo/ARDWebSocketChannel.m',
tkchin@webrtc.org3e9ad262014-11-27 00:52:38 +0000291 'examples/objc/AppRTCDemo/RTCICECandidate+JSON.h',
292 'examples/objc/AppRTCDemo/RTCICECandidate+JSON.m',
293 'examples/objc/AppRTCDemo/RTCICEServer+JSON.h',
294 'examples/objc/AppRTCDemo/RTCICEServer+JSON.m',
295 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h',
296 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.m',
297 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h',
298 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.m',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000299 ],
300 'xcode_settings': {
301 'CLANG_ENABLE_OBJC_ARC': 'YES',
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000302 },
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000303 }, # target AppRTCDemo
tkchin@webrtc.org87776a82014-12-09 19:32:35 +0000304 {
305 # TODO(tkchin): move this into the real third party location and
306 # have it mirrored on chrome infra.
307 'target_name': 'socketrocket',
308 'type': 'static_library',
309 'sources': [
310 'examples/objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h',
311 'examples/objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m',
312 ],
313 'conditions': [
314 ['OS=="mac"', {
315 'xcode_settings': {
316 # SocketRocket autosynthesizes some properties. Disable the
317 # warning so we can compile successfully.
318 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
319 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
320 },
321 }],
322 ],
323 'direct_dependent_settings': {
324 'include_dirs': [
325 'examples/objc/AppRTCDemo/third_party/SocketRocket',
326 ],
327 },
328 'xcode_settings': {
329 'CLANG_ENABLE_OBJC_ARC': 'YES',
330 'WARNING_CFLAGS': [
331 '-Wno-deprecated-declarations',
332 ],
333 },
334 'link_settings': {
335 'xcode_settings': {
336 'OTHER_LDFLAGS': [
337 '-framework CFNetwork',
338 ],
339 },
340 'libraries': [
341 '$(SDKROOT)/usr/lib/libicucore.dylib',
342 ],
343 }
344 }, # target socketrocket
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000345 ], # targets
tkchin@webrtc.org56d11462014-05-30 23:04:39 +0000346 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.8")
fischman@webrtc.org1bc19542013-08-01 18:29:45 +0000347
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000348 ['OS=="android"', {
349 'targets': [
350 {
351 'target_name': 'AppRTCDemo',
352 'type': 'none',
353 'dependencies': [
354 'libjingle.gyp:libjingle_peerconnection_jar',
355 ],
356 'actions': [
357 {
358 # TODO(fischman): convert from a custom script to a standard gyp
359 # apk build once chromium's apk-building gyp machinery can be used
360 # (http://crbug.com/225101)
361 'action_name': 'build_apprtcdemo_apk',
362 'inputs' : [
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000363 '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
perkj@webrtc.org128faba2014-12-11 12:25:57 +0000364 '<(PRODUCT_DIR)/lib/libjingle_peerconnection_so.so',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000365 'examples/android/AndroidManifest.xml',
366 'examples/android/README',
367 'examples/android/ant.properties',
fischman@webrtc.org147d44a2013-07-29 19:07:33 +0000368 'examples/android/assets/channel.html',
henrik.lundin@webrtc.org6f6ef722014-11-19 13:02:24 +0000369 'examples/android/third_party/autobanh/autobanh.jar',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000370 'examples/android/build.xml',
371 'examples/android/jni/Android.mk',
372 'examples/android/project.properties',
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +0000373 'examples/android/res/drawable-hdpi/disconnect.png',
glaznev@webrtc.org5f38c8d2014-11-03 22:18:52 +0000374 'examples/android/res/drawable-hdpi/ic_action_full_screen.png',
375 'examples/android/res/drawable-hdpi/ic_action_return_from_full_screen.png',
376 'examples/android/res/drawable-hdpi/ic_loopback_call.png',
377 'examples/android/res/drawable-hdpi/ic_launcher.png',
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +0000378 'examples/android/res/drawable-ldpi/disconnect.png',
glaznev@webrtc.org5f38c8d2014-11-03 22:18:52 +0000379 'examples/android/res/drawable-ldpi/ic_action_full_screen.png',
380 'examples/android/res/drawable-ldpi/ic_action_return_from_full_screen.png',
381 'examples/android/res/drawable-ldpi/ic_loopback_call.png',
382 'examples/android/res/drawable-ldpi/ic_launcher.png',
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +0000383 'examples/android/res/drawable-mdpi/disconnect.png',
glaznev@webrtc.org5f38c8d2014-11-03 22:18:52 +0000384 'examples/android/res/drawable-mdpi/ic_action_full_screen.png',
385 'examples/android/res/drawable-mdpi/ic_action_return_from_full_screen.png',
386 'examples/android/res/drawable-mdpi/ic_loopback_call.png',
387 'examples/android/res/drawable-mdpi/ic_launcher.png',
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +0000388 'examples/android/res/drawable-xhdpi/disconnect.png',
glaznev@webrtc.org5f38c8d2014-11-03 22:18:52 +0000389 'examples/android/res/drawable-xhdpi/ic_action_full_screen.png',
390 'examples/android/res/drawable-xhdpi/ic_action_return_from_full_screen.png',
391 'examples/android/res/drawable-xhdpi/ic_loopback_call.png',
392 'examples/android/res/drawable-xhdpi/ic_launcher.png',
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +0000393 'examples/android/res/layout/activity_connect.xml',
394 'examples/android/res/layout/activity_fullscreen.xml',
395 'examples/android/res/layout/fragment_menubar.xml',
glaznev@webrtc.org243eb8e2014-10-27 17:22:15 +0000396 'examples/android/res/menu/connect_menu.xml',
397 'examples/android/res/values/arrays.xml',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000398 'examples/android/res/values/strings.xml',
glaznev@webrtc.org243eb8e2014-10-27 17:22:15 +0000399 'examples/android/res/xml/preferences.xml',
henrika@webrtc.org5e160662014-11-06 20:35:13 +0000400 'examples/android/src/org/appspot/apprtc/AppRTCAudioManager.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000401 'examples/android/src/org/appspot/apprtc/AppRTCClient.java',
402 'examples/android/src/org/appspot/apprtc/AppRTCDemoActivity.java',
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +0000403 'examples/android/src/org/appspot/apprtc/ConnectActivity.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000404 'examples/android/src/org/appspot/apprtc/GAEChannelClient.java',
glaznev@webrtc.org58202942014-10-17 17:42:38 +0000405 'examples/android/src/org/appspot/apprtc/GAERTCClient.java',
406 'examples/android/src/org/appspot/apprtc/PeerConnectionClient.java',
henrik.lundin@webrtc.org6f6ef722014-11-19 13:02:24 +0000407 'examples/android/src/org/appspot/apprtc/RoomParametersFetcher.java',
glaznev@webrtc.org243eb8e2014-10-27 17:22:15 +0000408 'examples/android/src/org/appspot/apprtc/SettingsActivity.java',
409 'examples/android/src/org/appspot/apprtc/SettingsFragment.java',
glaznev@webrtc.org58202942014-10-17 17:42:38 +0000410 'examples/android/src/org/appspot/apprtc/UnhandledExceptionHandler.java',
henrik.lundin@webrtc.org6f6ef722014-11-19 13:02:24 +0000411 'examples/android/src/org/appspot/apprtc/WebSocketChannelClient.java',
412 'examples/android/src/org/appspot/apprtc/WebSocketRTCClient.java',
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000413 ],
414 'outputs': [
415 '<(PRODUCT_DIR)/AppRTCDemo-debug.apk',
416 ],
fischman@webrtc.orgdf7b1d62013-12-11 22:36:22 +0000417 'variables': {
fischman@webrtc.org000dde92013-12-20 22:49:35 +0000418 'ant_log': '../../<(INTERMEDIATE_DIR)/ant.log', # ../.. to compensate for the cd examples/android below.
fischman@webrtc.orgdf7b1d62013-12-11 22:36:22 +0000419 },
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000420 'action': [
421 'bash', '-ec',
henrike@webrtc.org723d6832013-07-12 16:04:50 +0000422 'rm -fr <(_outputs) examples/android/{bin,libs} && '
fischman@webrtc.org000dde92013-12-20 22:49:35 +0000423 'mkdir -p <(INTERMEDIATE_DIR) && ' # Must happen _before_ the cd below
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000424 'mkdir -p examples/android/libs/<(android_app_abi) && '
425 'cp <(PRODUCT_DIR)/libjingle_peerconnection.jar examples/android/libs/ &&'
henrik.lundin@webrtc.org6f6ef722014-11-19 13:02:24 +0000426 'cp examples/android/third_party/autobanh/autobanh.jar examples/android/libs/ &&'
perkj@webrtc.org128faba2014-12-11 12:25:57 +0000427 '<(android_strip) -o examples/android/libs/<(android_app_abi)/libjingle_peerconnection_so.so <(PRODUCT_DIR)/lib/libjingle_peerconnection_so.so &&'
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000428 'cd examples/android && '
kjellander@webrtc.org190b72a2014-04-15 08:35:49 +0000429 '{ ANDROID_SDK_ROOT=<(android_sdk_root) '
430 'ant debug > <(ant_log) 2>&1 || '
fischman@webrtc.orgdf7b1d62013-12-11 22:36:22 +0000431 ' { cat <(ant_log) ; exit 1; } } && '
432 'cd - > /dev/null && '
henrike@webrtc.org28e20752013-07-10 00:45:36 +0000433 'cp examples/android/bin/AppRTCDemo-debug.apk <(_outputs)'
434 ],
435 },
436 ],
437 }, # target AppRTCDemo
438 ], # targets
439 }], # OS=="android"
440 ],
441}