ndk sample hello-neon: use $(call import-module) to access the 'cpufeatures' library
Change-Id: I29397158de0ccdd89dfe4da72a544fad14a8324e
This commit is contained in:
@@ -11,12 +11,10 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
|||||||
LOCAL_SRC_FILES += helloneon-intrinsics.c.neon
|
LOCAL_SRC_FILES += helloneon-intrinsics.c.neon
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_C_INCLUDES := $(NDK_ROOT)/sources/cpufeatures
|
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := cpufeatures
|
LOCAL_STATIC_LIBRARIES := cpufeatures
|
||||||
|
|
||||||
LOCAL_LDLIBS := -llog
|
LOCAL_LDLIBS := -llog
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
include $(NDK_ROOT)/sources/cpufeatures/Android.mk
|
$(call import-module,cpufeatures)
|
||||||
|
|||||||
Reference in New Issue
Block a user