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