Don't manually strip Android shared library

This commit is contained in:
wheremyfoodat 2024-07-23 15:51:34 +03:00 committed by GitHub
parent a055269a1d
commit 1ad3cbfc04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,8 +60,6 @@ jobs:
# Build the project with CMake
cmake --build ${{github.workspace}}/build --config ${{ env.CMAKE_BUILD_TYPE }}
# Strip the generated library and move it to the appropriate location
${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded ./build/libAlber.so
mv ./build/libAlber.so ./src/pandroid/app/src/main/jniLibs/x86_64/
# Build the Android app with Gradle
@ -125,8 +123,6 @@ jobs:
# Build the project with CMake
cmake --build ${{github.workspace}}/build --config ${{ env.CMAKE_BUILD_TYPE }}
# Strip the generated library and move it to the appropriate location
${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded ./build/libAlber.so
mv ./build/libAlber.so ./src/pandroid/app/src/main/jniLibs/arm64-v8a/
# Build the Android app with Gradle