It is provided as a static library that NDK developers can link against. The code is designed to run on all official Android platforms, starting from Android 1.5.
11 lines
303 B
Makefile
11 lines
303 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
# If targetting ARM CPUs, build the ARMv7 detection
|
|
# function. It will only be called by the main
|
|
# library if we detect ARMv7 through a system property.
|
|
#
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := cpufeatures
|
|
LOCAL_SRC_FILES := cpu-features.c
|
|
include $(BUILD_STATIC_LIBRARY)
|