Home | History | Annotate | Download | only in pixman
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_SDK_VERSION := 14
      6 
      7 LOCAL_MODULE := libpixman
      8 
      9 LOCAL_CFLAGS := -DHAVE_CONFIG_H -fvisibility=hidden
     10 
     11 # Core files
     12 LOCAL_SRC_FILES := \
     13 	pixman-matrix.c
     14 
     15 # Android additions
     16 LOCAL_SRC_FILES += \
     17 	pixman-android.c
     18 
     19 ifeq ($(strip $(TARGET_ARCH)),arm)
     20 	# Will only be used if runtime detection reports NEON capabilities
     21 	LOCAL_CFLAGS += -DUSE_ARM_NEON
     22 	LOCAL_SRC_FILES += \
     23 		pixman-android-neon.S
     24 endif
     25 
     26 LOCAL_STATIC_LIBRARIES := cpufeatures
     27 
     28 include $(BUILD_STATIC_LIBRARY)
     29 
     30 $(call import-module,android/cpufeatures)
     31