File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ build_android_native_library() {
9090 fi
9191
9292 # Copy MTK related so library
93- if [ -n " $NEURON_BUFFER_ALLOCATOR_LIB " ] && [ " $ANDROID_ABI " == " arm64-v8a" ]; then
93+ if [ -n " $NEURON_BUFFER_ALLOCATOR_LIB " ] && [ -n " $NEURON_USDK_ADAPTER_LIB " ] && [ " $ANDROID_ABI " == " arm64-v8a" ]; then
9494 cp " ${CMAKE_OUT} " /backends/mediatek/libneuron_backend.so ${BUILD_AAR_DIR} /jni/${ANDROID_ABI} /
95- cp " $NEURON_BUFFER_ALLOCATOR_LIB " /libneuron_buffer_allocator.so ${BUILD_AAR_DIR} /jni/${ANDROID_ABI} /
96- cp " $NEURON_BUFFER_ALLOCATOR_LIB " /libneuronusdk_adapter.mtk.so ${BUILD_AAR_DIR} /jni/${ANDROID_ABI} /
95+ cp " ${ NEURON_BUFFER_ALLOCATOR_LIB} " ${BUILD_AAR_DIR} /jni/${ANDROID_ABI} /
96+ cp " ${NEURON_USDK_ADAPTER_LIB} " ${BUILD_AAR_DIR} /jni/${ANDROID_ABI} /
9797 fi
9898}
9999
You can’t perform that action at this time.
0 commit comments