Android.mk revision 780fc14f48491c5e922475d9e46226a7ca23179e
1LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_SDK_VERSION := 14
6
7LOCAL_MODULE := libpixman
8
9LOCAL_CFLAGS := -DHAVE_CONFIG_H -fvisibility=hidden
10
11# Core files
12LOCAL_SRC_FILES := \
13	pixman-matrix.c
14
15# Android additions
16LOCAL_SRC_FILES += \
17	pixman-android.c
18
19ifeq ($(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
24endif
25
26LOCAL_STATIC_LIBRARIES := cpufeatures
27
28include $(BUILD_STATIC_LIBRARY)
29
30$(call import-module,android/cpufeatures)
31