-
Notifications
You must be signed in to change notification settings - Fork 23
pixman 0.32.4.mk
Mark Johnson edited this page Mar 8, 2018
·
17 revisions
pixman-0.32.4 - for cairo-1.12.14
The original source code archive can be found in the archive
directory
flags settings
- do not use
HAS_CONFIG
pixman_flags := \
-DPACKAGE="android-cairo-$(TARGET_ARCH)" \
-D_USE_MATH_DEFINES \
-DPIXMAN_NO_TLS \
-O2 \
-std=c99 \
-Wno-missing-field-initializers \
-include "limits.h"
# Extra spaces are allowed and ignored at the beginning of the conditional
# directive line,but a tab is not allowed.
# (If the line begins with a tab,
# it will be considered part of a recipe for a rule.)
ifneq ($(TARGET_ARCH_ABI),x86)
LOCAL_CFLAGS := -DUSE_ARM_NEON -DUSE_ARM_SIMD $(pixman_flags)
else
LOCAL_CFLAGS := $(pixman_flags)
endif
# after inclusion of source files:
ifneq ($(TARGET_ARCH_ABI),x86)
# Setting LOCAL_ARM_NEON will enable -mfpu=neon which may cause illegal
# instructions to be generated for armv7a code. Instead target the neon code
# specifically.
LOCAL_SRC_FILES += $(PIXMAN_PATH)/pixman/pixman-arm-simd.c
LOCAL_SRC_FILES += $(PIXMAN_PATH)/pixman/pixman-arm-simd-asm.S
LOCAL_SRC_FILES += $(PIXMAN_PATH)/pixman/pixman-arm-neon.c
LOCAL_SRC_FILES += $(PIXMAN_PATH)/pixman/pixman-arm-neon-asm.S
LOCAL_SRC_FILES += $(PIXMAN_PATH)/pixman/pixman-arm-neon-asm-bilinear.S
LOCAL_SRC_FILES += $(PIXMAN_PATH)/pixman/pixman-arm-simd-asm-scaled.S
endif
2014-05-18: Mark Johnson, Berlin Germany