2012-03-01 16:18:40 +01:00
|
|
|
# Do not build for NEON
|
2012-03-14 13:48:59 +01:00
|
|
|
ifneq ($(OSMAND_BUILDING_NEON_LIBRARY),true)
|
2012-03-01 12:21:20 +01:00
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
# Name of the local module
|
|
|
|
LOCAL_MODULE := cpufeatures_proxy
|
|
|
|
|
2012-03-23 08:00:12 +01:00
|
|
|
ifneq ($(OSMAND_USE_PREBUILT),true)
|
2012-03-01 12:21:20 +01:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
cpuCheck.cpp
|
|
|
|
LOCAL_STATIC_LIBRARIES := cpufeatures
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2012-03-23 08:00:12 +01:00
|
|
|
else
|
|
|
|
LOCAL_SRC_FILES := \
|
2012-05-31 21:01:27 +02:00
|
|
|
../lib/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).so
|
2012-03-23 08:00:12 +01:00
|
|
|
LOCAL_STATIC_LIBRARIES := cpufeatures
|
|
|
|
include $(PREBUILT_SHARED_LIBRARY)
|
|
|
|
endif
|
2012-03-01 12:21:20 +01:00
|
|
|
|
|
|
|
$(call import-module,android/cpufeatures)
|
|
|
|
|
|
|
|
endif
|