Skip to content

Commit 97ce90d

Browse files
committed
Fix build_android_library.sh
Qnn backend requires libQnnDlc. Package that in the aar file
1 parent adbd257 commit 97ce90d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build_android_library.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ build_android_native_library() {
6767
# Copy QNN related so library
6868
if [ -n "$QNN_SDK_ROOT" ] && [ "$ANDROID_ABI" == "arm64-v8a" ]; then
6969
cp "${CMAKE_OUT}"/lib/libqnn_executorch_backend.so ${SO_STAGE_DIR}
70+
cp "${QNN_SDK_ROOT}"/lib/aarch64-android/libQnnModelDlc.so ${SO_STAGE_DIR}
7071
cp "${QNN_SDK_ROOT}"/lib/aarch64-android/libQnnHtp.so ${SO_STAGE_DIR}
7172
cp "${QNN_SDK_ROOT}"/lib/aarch64-android/libQnnSystem.so ${SO_STAGE_DIR}
7273
cp "${QNN_SDK_ROOT}"/lib/aarch64-android/libQnnHtpV69Stub.so ${SO_STAGE_DIR}

0 commit comments

Comments
 (0)