Skip to content

Commit 830f809

Browse files
committed
Fix
1 parent 15b9460 commit 830f809

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/build_android_library.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ build_android_native_library() {
6464
mkdir -p ${SO_STAGE_DIR}
6565
cp "${CMAKE_OUT}"/extension/android/*.so "${SO_STAGE_DIR}/libexecutorch.so"
6666

67+
# Copy QNN related so library
68+
if [ -n "$QNN_SDK_ROOT" ] && [ "$ANDROID_ABI" == "arm64-v8a" ]; then
69+
cp "${CMAKE_OUT}"/lib/libqnn_executorch_backend.so ${SO_STAGE_DIR}
70+
fi
71+
6772
# Copy MTK related so library
6873
if [ -n "$NEURON_BUFFER_ALLOCATOR_LIB" ] && [ -n "$NEURON_USDK_ADAPTER_LIB" ] && [ "$ANDROID_ABI" == "arm64-v8a" ]; then
6974
cp "${CMAKE_OUT}"/backends/mediatek/libneuron_backend.so ${SO_STAGE_DIR}

0 commit comments

Comments
 (0)