-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfiles.xml
80 lines (66 loc) · 4.72 KB
/
files.xml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<xml>
<!-- TODO: ARM64 NEON -->
<!-- <set name="PIXMAN_ARM_SIMD" value="1" if="android || rpi" unless="HXCPP_ARMV7 || HXCPP_ARMV7S || HXCPP_ARM64 || HXCPP_X86" /> -->
<set name="PIXMAN_ARM_NEON" value="1" if="HXCPP_ARMV7 || HXCPP_ARMV7S || rpi" unless="ios" />
<!-- Run setup now so we can determine whether Clang or GCC will be used. -->
<!-- TODO: if https://github.com/HaxeFoundation/hxcpp/issues/930 ever gets resolved, use that instead. -->
<setup name="androidNdk" if="android" />
<files id="native-toolkit-pixman" >
<compilerflag value="-fno-integrated-as" if="android NDKV20+" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/pixman" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/pixman/pixman" />
<compilerflag value="-DHAVE_CONFIG_H" />
<compilerflag value="-DPIXMAN_NO_TLS" if="windows" />
<compilerflag value="-DNATIVE_TOOLKIT_HAVE_PNG" if="NATIVE_TOOLKIT_HAVE_PNG" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/png" if="NATIVE_TOOLKIT_HAVE_PNG" />
<compilerflag value="-DUSE_ARM_NEON=1" if="PIXMAN_ARM_NEON" />
<compilerflag value="-DUSE_ARM_SIMD=1" if="PIXMAN_ARM_SIMD" />
<compilerflag value="-I${ANDROID_NDK_ROOT}/sources/android/cpufeatures" if="android"/>
<compilerflag value="-mmmx" if="linux || mac" unless="rpi"/>
<compilerflag value="-msse" if="linux || mac" unless="rpi"/>
<compilerflag value="-msse2" if="linux || mac" unless="rpi"/>
<compilerflag value="-msse3" if="linux || mac" unless="rpi"/>
<compilerflag value="-mssse3" if="linux || mac" unless="rpi"/>
<compilerflag value="-Wno-attributes" if="android" />
<compilerflag value="-Wno-tautological-constant-out-of-range-compare" if="mac || ios || tvos" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-access.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-access-accessors.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-arm.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-arm-neon.c" if="PIXMAN_ARM_NEON" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-arm-neon-asm-bilinear.S" if="PIXMAN_ARM_NEON" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-arm-neon-asm.S" if="PIXMAN_ARM_NEON" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-arm-simd.c" if="PIXMAN_ARM_SIMD" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-arm-simd-asm.S" if="PIXMAN_ARM_SIMD" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-arm-simd-asm-scaled.S" if="PIXMAN_ARM_SIMD" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-bits-image.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-combine32.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-combine-float.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-conical-gradient.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-edge.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-edge-accessors.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-fast-path.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-filter.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-glyph.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-general.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-gradient-walker.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-image.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-implementation.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-linear-gradient.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-matrix.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-mips.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-mmx.c" if="windows || mac || linux" unless="rpi"/>
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-noop.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-ppc.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-radial-gradient.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-region16.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-region32.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-solid-fill.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-sse2.c" if="windows || mac || linux" unless="rpi"/>
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-ssse3.c" if="windows || mac || linux" unless="rpi"/>
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-timer.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-trap.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-utils.c" />
<file name="${NATIVE_TOOLKIT_PATH}/pixman/pixman/pixman-x86.c" />
</files>
</xml>