mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-29 01:46:38 +00:00
Fix detecting renderdoccmd as a replay application on android
* Force loading librenderdoccmd.so in the Loader * Build renderdoc as libVkLayer_GLES_RenderDoc.so, link renderdoccmd against it, otherwise we will get UnsatisfiedLinkError when running
This commit is contained in:
committed by
Baldur Karlsson
parent
06cfd5383f
commit
ff084037a5
+2
-2
@@ -59,7 +59,7 @@ if [ -f bin-android32/RenderDocCmd.apk ]; then
|
||||
mkdir -p dist/Release64/android/apk dist/Release64/android/lib/armeabi-v7a
|
||||
|
||||
cp bin-android32/RenderDocCmd.apk dist/Release64/android/apk
|
||||
cp bin-android32/librenderdoc.so dist/Release64/android/lib/armeabi-v7a/libVkLayer_GLES_RenderDoc.so
|
||||
cp bin-android32/libVkLayer_GLES_RenderDoc.so dist/Release64/android/lib/armeabi-v7a/libVkLayer_GLES_RenderDoc.so
|
||||
fi
|
||||
|
||||
if [ -f bin-android64/RenderDocCmd.apk ]; then
|
||||
@@ -69,7 +69,7 @@ if [ -f bin-android64/RenderDocCmd.apk ]; then
|
||||
mkdir -p dist/Release64/android/lib/arm64-v8a
|
||||
|
||||
#cp bin-android64/RenderDocCmd.apk dist/Release64/android/apk/64
|
||||
cp bin-android64/librenderdoc.so dist/Release64/android/lib/arm64-v8a/libVkLayer_GLES_RenderDoc.so
|
||||
cp bin-android64/libVkLayer_GLES_RenderDoc.so dist/Release64/android/lib/arm64-v8a/libVkLayer_GLES_RenderDoc.so
|
||||
fi
|
||||
|
||||
# try to copy adb.exe in as well, with its dll dependencies
|
||||
|
||||
Reference in New Issue
Block a user