Home | History | Annotate | Download | only in jni
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE := helloneon
      6 
      7 LOCAL_SRC_FILES := helloneon.c
      8 
      9 ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
     10     LOCAL_CFLAGS := -DHAVE_NEON=1
     11     LOCAL_SRC_FILES += helloneon-intrinsics.c.neon
     12 endif
     13 
     14 LOCAL_STATIC_LIBRARIES := cpufeatures
     15 
     16 LOCAL_LDLIBS := -llog
     17 
     18 include $(BUILD_SHARED_LIBRARY)
     19 
     20 $(call import-module,cpufeatures)
     21