aboutsummaryrefslogtreecommitdiff
path: root/pixman/Android.mk
blob: 777aaf3f8349d8c27eb5108c61d274f65a9dff76 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SDK_VERSION := 14

LOCAL_MODULE := libpixman

LOCAL_CFLAGS := -DHAVE_CONFIG_H

# Core files
LOCAL_SRC_FILES := \
	pixman.c \
	pixman-access.c \
	pixman-access-accessors.c \
	pixman-bits-image.c \
	pixman-combine32.c \
	pixman-combine-float.c \
	pixman-conical-gradient.c \
	pixman-filter.c \
	pixman-x86.c \
	pixman-mips.c \
	pixman-arm.c \
	pixman-ppc.c \
	pixman-edge.c \
	pixman-edge-accessors.c \
	pixman-fast-path.c \
	pixman-glyph.c \
	pixman-general.c \
	pixman-gradient-walker.c \
	pixman-image.c \
	pixman-implementation.c \
	pixman-linear-gradient.c \
	pixman-matrix.c \
	pixman-noop.c \
	pixman-radial-gradient.c \
	pixman-region16.c \
	pixman-region32.c \
	pixman-solid-fill.c \
	pixman-timer.c \
	pixman-trap.c \
	pixman-utils.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-arm-neon.c \
		pixman-arm-neon-asm.S \
		pixman-arm-neon-asm-bilinear.S
endif

LOCAL_STATIC_LIBRARIES := cpufeatures

include $(BUILD_STATIC_LIBRARY)

$(call import-module,android/cpufeatures)