From 92dc82a0fedd857196b293f5a4c79c049416eab0 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 12 Oct 2016 22:09:02 +0200 Subject: [PATCH] Copy apk and layer .so into distributions if they exist --- scripts/dist.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/dist.sh b/scripts/dist.sh index 7e9acfc28..610026e43 100644 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -54,6 +54,14 @@ cp LICENSE.md Documentation/htmlhelp/*.chm dist/Release32/ find dist/Release{32,64}/ -iname '*.ipdb' -exec rm '{}' \; find dist/Release{32,64}/ -iname '*.iobj' -exec rm '{}' \; +if [ -f bin/RenderDocCmd.apk ]; then + # Building for android, copy the apk and vulkan layer into root folders + cp bin/RenderDocCmd.apk dist/Release64 + cp bin/RenderDocCmd.apk dist/Release32 + cp bin/librenderdoc.so dist/Release64/libVkLayer_RenderDoc.so + cp bin/librenderdoc.so dist/Release32/libVkLayer_RenderDoc.so +fi + # Make a copy of the main distribution folder that has PDBs cp -R dist/Release64 dist/ReleasePDBs64 cp -R dist/Release32 dist/ReleasePDBs32