Skip to content

Commit

Permalink
use android prebuild releas folder, build arm64 jni library
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Mar 30, 2018
1 parent 4019505 commit fac2626
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/squeezencnn/jni/Android.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
LOCAL_PATH := $(call my-dir)

# change this folder path to yours
NCNN_INSTALL_PATH := /home/nihui/osd/ncnn/build-android-armv7/install
NCNN_INSTALL_PATH := /home/nihui/osd/ncnn/ncnn-android-lib

include $(CLEAR_VARS)
LOCAL_MODULE := ncnn
LOCAL_SRC_FILES := $(NCNN_INSTALL_PATH)/lib/libncnn.a
LOCAL_SRC_FILES := $(NCNN_INSTALL_PATH)/$(TARGET_ARCH_ABI)/libncnn.a
include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)
Expand Down
2 changes: 1 addition & 1 deletion examples/squeezencnn/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# APP_STL := stlport_static
APP_STL := gnustl_static
# APP_ABI := armeabi armeabi-v7a
APP_ABI := armeabi-v7a
APP_ABI := armeabi-v7a arm64-v8a
APP_PLATFORM := android-9
# NDK_TOOLCHAIN_VERSION := 4.9

0 comments on commit fac2626

Please sign in to comment.