From 37379043a12130d3c1d2f70c9f6e96dc87b82909 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 4 May 2017 12:21:21 +0100 Subject: [PATCH] Copy adb.exe and dlls into distribution if it exists under $ANDROID_SDK --- scripts/dist.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/dist.sh b/scripts/dist.sh index a1eced6c9..494f864a5 100644 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -70,6 +70,11 @@ if [ -f bin-android64/RenderDocCmd.apk ]; then cp bin-android64/librenderdoc.so dist/Release64/android/libs/arm64-v8a/libVkLayer_RenderDoc.so fi +# try to copy adb.exe in as well, with its dll dependencies +if [ -f $ANDROID_SDK/platform-tools/adb.exe ]; then + cp $ANDROID_SDK/platform-tools/{adb.exe,AdbWinApi.dll,AdbWinUsbApi.dll} dist/Release64/android/ +fi + if [ -d dist/Release64/android ]; then cp -R dist/Release64/android dist/Release32/ fi