1LOCAL_PATH := $(call my-dir) 2 3ifdef HISTORICAL_NDK_VERSIONS_ROOT 4# This is included by the platform build system. 5include $(CLEAR_VARS) 6LOCAL_MODULE := cpufeatures 7LOCAL_SRC_FILES := cpu-features.c 8LOCAL_SDK_VERSION := 9 9LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 10include $(BUILD_STATIC_LIBRARY) 11 12else # NDK build system 13 14include $(CLEAR_VARS) 15LOCAL_MODULE := cpufeatures 16LOCAL_SRC_FILES := cpu-features.c 17LOCAL_CFLAGS := -Wall -Wextra -Werror 18LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) 19LOCAL_EXPORT_LDLIBS := -ldl 20include $(BUILD_STATIC_LIBRARY) 21 22endif # HISTORICAL_NDK_VERSIONS_ROOT 23