Copy apk and layer .so into distributions if they exist

This commit is contained in:
baldurk
2016-10-12 22:09:02 +02:00
parent 528ffcf2a7
commit 92dc82a0fe
+8
View File
@@ -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