aboutsummaryrefslogtreecommitdiff
path: root/talk/libjingle_examples.gyp
diff options
context:
space:
mode:
authorkjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-15 08:35:49 +0000
committerkjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-15 08:35:49 +0000
commit190b72a350304baaf2f19f3f82e185e98eab567b (patch)
tree8fcba797ce980fd94e4475829e1fb6e45cdf0b5a /talk/libjingle_examples.gyp
parent6e105ede383985ca442d91ae9c5488802e879d8e (diff)
downloadwebrtc-190b72a350304baaf2f19f3f82e185e98eab567b.tar.gz
Make libjingle Android example build without sourcing envsetup.sh
See https://webrtc-codereview.appspot.com/11799004 for full details (separate to avoid webrtc+talk changes in same CL). BUG=chromium:346198 TEST=Local builds using: . build/android/envsetup.sh unset ANDROID_SDK_ROOT webrtc/build/gyp_webrtc ninja -C out/Debug ninja -C out/Release + trybots passing: git try --bot=android,android_rel,android_clang R=fischman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/11809004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5908 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'talk/libjingle_examples.gyp')
-rwxr-xr-xtalk/libjingle_examples.gyp3
1 files changed, 2 insertions, 1 deletions
diff --git a/talk/libjingle_examples.gyp b/talk/libjingle_examples.gyp
index cfae7418d6..0648ec06ba 100755
--- a/talk/libjingle_examples.gyp
+++ b/talk/libjingle_examples.gyp
@@ -318,7 +318,8 @@
'cp <(PRODUCT_DIR)/libjingle_peerconnection.jar examples/android/libs/ &&'
'<(android_strip) -o examples/android/libs/<(android_app_abi)/libjingle_peerconnection_so.so <(PRODUCT_DIR)/libjingle_peerconnection_so.so &&'
'cd examples/android && '
- '{ ant debug > <(ant_log) 2>&1 || '
+ '{ ANDROID_SDK_ROOT=<(android_sdk_root) '
+ 'ant debug > <(ant_log) 2>&1 || '
' { cat <(ant_log) ; exit 1; } } && '
'cd - > /dev/null && '
'cp examples/android/bin/AppRTCDemo-debug.apk <(_outputs)'