diff options
author | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-12-11 22:36:22 +0000 |
---|---|---|
committer | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-12-11 22:36:22 +0000 |
commit | 59a84268b39cda024e0c7e59c5ca5d33b6b9d9db (patch) | |
tree | f5a85cc17a4104a8059cac0ad08eb72176e8c712 /libjingle_examples.gyp | |
parent | 174831c9547cd03474efe711ce934e841cc93eb2 (diff) | |
download | talk-59a84268b39cda024e0c7e59c5ca5d33b6b9d9db.tar.gz |
AppRTCDemo(android): make ant be quiet on success and not overly noisy on failure.
Also silence a 'cd' that would otherwise emit the path/to/talk.
R=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/5539004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@5271 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'libjingle_examples.gyp')
-rwxr-xr-x | libjingle_examples.gyp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libjingle_examples.gyp b/libjingle_examples.gyp index c69aa9e..1e2eeb0 100755 --- a/libjingle_examples.gyp +++ b/libjingle_examples.gyp @@ -304,6 +304,9 @@ 'outputs': [ '<(PRODUCT_DIR)/AppRTCDemo-debug.apk', ], + 'variables': { + 'ant_log': '<(INTERMEDIATE_DIR)/ant.log', + }, 'action': [ 'bash', '-ec', 'rm -fr <(_outputs) examples/android/{bin,libs} && ' @@ -311,8 +314,10 @@ '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 && ' - 'cd - && ' + 'mkdir -p <(INTERMEDIATE_DIR) && ' + '{ ant -q -l <(ant_log) debug || ' + ' { cat <(ant_log) ; exit 1; } } && ' + 'cd - > /dev/null && ' 'cp examples/android/bin/AppRTCDemo-debug.apk <(_outputs)' ], }, |