Android.mk revision 3c5ee0fc482e93912b9b090d0df1af496288a702
1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SDK_VERSION := 14 6 7LOCAL_MODULE := libpixman 8 9LOCAL_CFLAGS := -DHAVE_CONFIG_H 10 11# Core files 12LOCAL_SRC_FILES := \ 13 pixman.c \ 14 pixman-access.c \ 15 pixman-access-accessors.c \ 16 pixman-bits-image.c \ 17 pixman-combine32.c \ 18 pixman-combine-float.c \ 19 pixman-conical-gradient.c \ 20 pixman-filter.c \ 21 pixman-x86.c \ 22 pixman-mips.c \ 23 pixman-arm.c \ 24 pixman-ppc.c \ 25 pixman-edge.c \ 26 pixman-edge-accessors.c \ 27 pixman-fast-path.c \ 28 pixman-glyph.c \ 29 pixman-general.c \ 30 pixman-gradient-walker.c \ 31 pixman-image.c \ 32 pixman-implementation.c \ 33 pixman-linear-gradient.c \ 34 pixman-matrix.c \ 35 pixman-noop.c \ 36 pixman-radial-gradient.c \ 37 pixman-region16.c \ 38 pixman-region32.c \ 39 pixman-solid-fill.c \ 40 pixman-timer.c \ 41 pixman-trap.c \ 42 pixman-utils.c 43 44# Android additions 45LOCAL_SRC_FILES += \ 46 pixman-android.c 47 48ifeq ($(strip $(TARGET_ARCH)),arm) 49 # Will only be used if runtime detection reports NEON capabilities 50 LOCAL_CFLAGS += -DUSE_ARM_NEON 51 LOCAL_SRC_FILES += \ 52 pixman-arm-neon.c \ 53 pixman-arm-neon-asm.S \ 54 pixman-arm-neon-asm-bilinear.S 55endif 56 57LOCAL_STATIC_LIBRARIES := cpufeatures 58 59include $(BUILD_STATIC_LIBRARY) 60 61$(call import-module,android/cpufeatures) 62