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