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