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() {
90
90
fi
91
91
92
92
# 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
94
94
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} /
97
97
fi
98
98
}
99
99
You can’t perform that action at this time.
0 commit comments