[compiler-rt] r200698 - [asan] asan_device_setup.sh: allow overriding adb path.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Mon Feb 3 07:12:09 PST 2014
Author: eugenis
Date: Mon Feb 3 09:12:09 2014
New Revision: 200698
URL: http://llvm.org/viewvc/llvm-project?rev=200698&view=rev
Log:
[asan] asan_device_setup.sh: allow overriding adb path.
Modified:
compiler-rt/trunk/lib/asan/scripts/asan_device_setup.sh
Modified: compiler-rt/trunk/lib/asan/scripts/asan_device_setup.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_device_setup.sh?rev=200698&r1=200697&r2=200698&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_device_setup.sh (original)
+++ compiler-rt/trunk/lib/asan/scripts/asan_device_setup.sh Mon Feb 3 09:12:09 2014
@@ -65,9 +65,9 @@ while [[ $# > 0 ]]; do
shift
done
-ADB="adb"
+ADB=${ADB:-adb}
if [[ x$device != x ]]; then
- ADB="adb -s $device"
+ ADB="$ADB -s $device"
fi
ASAN_RT="libclang_rt.asan-arm-android.so"
More information about the llvm-commits
mailing list