blob: 656a89885020b6e83e1c5a9d79405fc11a857b3c (
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
31
32
33
|
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# pixman-android-neon.S uses gcc-specific directive.
LOCAL_CLANG_ASFLAGS_arm += -no-integrated-as
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)
|