blob: 3a39b9033f6da7f4da6697e96ea089a657819aca [file] [log] [blame]
caryclark@google.com1708eea2012-10-16 12:32:33 +00001# GYP file to build unit tests.
2{
3 'includes': [
4 'apptype_console.gypi',
5 'common.gypi',
6 ],
7 'targets': [
8 {
9 'target_name': 'pixman_test',
10 'type': 'executable',
11 'mac_bundle' : 1,
12 'defines': [
13 'HAVE_CONFIG_H',
14 ],
15 'include_dirs' : [
16 '../src/core',
17 '../experimental/pixman',
18 '../experimental/SimpleCocoaApp', # needed to get SimpleApp.h
19 ],
20 'sources': [
21 '../experimental/pixman/config.h',
22 '../experimental/pixman/junk.cpp',
23# '../../../pixman/demos/alpha-test.c',
24 '../../../pixman/demos/checkerboard.c',
25# '../../../pixman/demos/clip-in.c',
26# '../../../pixman/demos/clip-test.c',
27# '../../../pixman/demos/composite-test.c',
28# '../../../pixman/demos/convolution-test.c',
29# '../../../pixman/demos/gradient-test.c',
30# '../../../pixman/demos/gtk-utils.c',
31# '../../../pixman/demos/parrot.c',
32# '../../../pixman/demos/quad2quad.c',
33# '../../../pixman/demos/radial-test.c',
34# '../../../pixman/demos/screen-test.c',
35# '../../../pixman/demos/srgb-test.c',
36# '../../../pixman/demos/srgb-trap-test.c',
37# '../../../pixman/demos/trap-test.c',
38# '../../../pixman/demos/tri-test.c',
39 '../../../pixman/demos/gtk-utils.h',
40# '../../../pixman/test/a1-trap-test.c',
41# '../../../pixman/test/affine-test.c',
42# '../../../pixman/test/alpha-loop.c',
43# '../../../pixman/test/alphamap.c',
44# '../../../pixman/test/blitters-test.c',
45# '../../../pixman/test/combiner-test.c',
46# '../../../pixman/test/composite-traps-test.c',
47# '../../../pixman/test/composite.c',
48# '../../../pixman/test/fetch-test.c',
49# '../../../pixman/test/glyph-test.c',
50# '../../../pixman/test/gradient-crash-test.c',
51# '../../../pixman/test/infinite-loop.c',
52# '../../../pixman/test/lowlevel-blt-bench.c',
53# '../../../pixman/test/oob-test.c',
54# '../../../pixman/test/pdf-op-test.c',
55# '../../../pixman/test/region-contains-test.c',
56# '../../../pixman/test/region-test.c',
57# '../../../pixman/test/region-translate-test.c',
58# '../../../pixman/test/rotate-test.c',
59# '../../../pixman/test/scaling-crash-test.c',
60# '../../../pixman/test/scaling-helpers-test.c',
61# '../../../pixman/test/scaling-test.c',
62# '../../../pixman/test/stress-test.c',
63# '../../../pixman/test/trap-crasher.c',
64 '../../../pixman/test/utils.c',
65 '../../../pixman/test/utils.h',
66 '../../../pixman/pixman/pixman-access-accessors.c',
67 '../../../pixman/pixman/pixman-access.c',
68# '../../../pixman/pixman/pixman-arm-neon.c',
69# '../../../pixman/pixman/pixman-arm-simd.c',
70 '../../../pixman/pixman/pixman-arm.c',
71 '../../../pixman/pixman/pixman-bits-image.c',
72 '../../../pixman/pixman/pixman-combine-float.c',
73 '../../../pixman/pixman/pixman-combine32.c',
74 '../../../pixman/pixman/pixman-conical-gradient.c',
75 '../../../pixman/pixman/pixman-edge-accessors.c',
76 '../../../pixman/pixman/pixman-edge.c',
77 '../../../pixman/pixman/pixman-fast-path.c',
78 '../../../pixman/pixman/pixman-general.c',
79 '../../../pixman/pixman/pixman-glyph.c',
80 '../../../pixman/pixman/pixman-gradient-walker.c',
81 '../../../pixman/pixman/pixman-image.c',
82 '../../../pixman/pixman/pixman-implementation.c',
83 '../../../pixman/pixman/pixman-linear-gradient.c',
84 '../../../pixman/pixman/pixman-matrix.c',
85# '../../../pixman/pixman/pixman-mips-dspr2.c',
86 '../../../pixman/pixman/pixman-mips.c',
87 '../../../pixman/pixman/pixman-mmx.c',
88 '../../../pixman/pixman/pixman-noop.c',
89 '../../../pixman/pixman/pixman-ppc.c',
90 '../../../pixman/pixman/pixman-radial-gradient.c',
91# '../../../pixman/pixman/pixman-region.c',
92 '../../../pixman/pixman/pixman-region16.c',
93 '../../../pixman/pixman/pixman-region32.c',
94 '../../../pixman/pixman/pixman-solid-fill.c',
95 '../../../pixman/pixman/pixman-sse2.c',
96 '../../../pixman/pixman/pixman-timer.c',
97 '../../../pixman/pixman/pixman-trap.c',
98 '../../../pixman/pixman/pixman-utils.c',
99# '../../../pixman/pixman/pixman-vmx.c',
100 '../../../pixman/pixman/pixman-x86.c',
101 '../../../pixman/pixman/pixman.c',
102# '../../../pixman/pixman/pixman-arm-neon-asm-bilinear.S',
103# '../../../pixman/pixman/pixman-arm-neon-asm.S',
104# '../../../pixman/pixman/pixman-arm-simd-asm.S',
105# '../../../pixman/pixman/pixman-mips-dspr2-asm.S',
106# '../../../pixman/pixman/pixman-mips-memcpy-asm.S',
107 '../../../pixman/pixman/loongson-mmintrin.h',
108 '../../../pixman/pixman/pixman-accessor.h',
109 '../../../pixman/pixman/pixman-arm-common.h',
110 '../../../pixman/pixman/pixman-arm-neon-asm.h',
111 '../../../pixman/pixman/pixman-combine32.h',
112 '../../../pixman/pixman/pixman-compiler.h',
113 '../../../pixman/pixman/pixman-edge-imp.h',
114 '../../../pixman/pixman/pixman-inlines.h',
115 '../../../pixman/pixman/pixman-mips-dspr2-asm.h',
116 '../../../pixman/pixman/pixman-mips-dspr2.h',
117 '../../../pixman/pixman/pixman-private.h',
118 '../../../pixman/pixman/pixman.h',
119 ],
120 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +0000121 'skia_lib.gyp:skia_lib',
caryclark@google.com1708eea2012-10-16 12:32:33 +0000122 'experimental.gyp:experimental',
caryclark@google.com1708eea2012-10-16 12:32:33 +0000123 'pdf.gyp:pdf',
124 'views.gyp:views',
125 'xml.gyp:xml',
126 ],
127 'conditions': [
borenet@google.com05d550e2013-06-11 15:52:19 +0000128 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
caryclark@google.com1708eea2012-10-16 12:32:33 +0000129 }],
130 [ 'skia_os == "win"', {
131 }],
132 [ 'skia_os == "mac"', {
133 'sources': [
134
135 # Mac files
136 '../src/views/mac/SkEventNotifier.h',
137 '../src/views/mac/SkEventNotifier.mm',
138 '../src/views/mac/skia_mac.mm',
139 '../src/views/mac/SkNSView.h',
140 '../src/views/mac/SkNSView.mm',
141 '../src/views/mac/SkOptionsTableView.h',
142 '../src/views/mac/SkOptionsTableView.mm',
143 '../src/views/mac/SkOSWindow_Mac.mm',
144 '../src/views/mac/SkTextFieldCell.h',
145 '../src/views/mac/SkTextFieldCell.m',
146 ],
147 'libraries': [
148 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
149 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
150 ],
151 'xcode_settings' : {
152 'INFOPLIST_FILE' : '../experimental/Intersection/EdgeDemoApp-Info.plist',
153 },
154 'mac_bundle_resources' : [
155 '../experimental/Intersection/EdgeDemoApp.xib',
156 ],
157 }],
158 ],
159 'msvs_settings': {
160 'VCLinkerTool': {
161 'SubSystem': '2',
162 'AdditionalDependencies': [
163 'd3d9.lib',
164 ],
165 },
166 },
167 },
168 ],
169}
170
171# Local Variables:
172# tab-width:2
173# indent-tabs-mode:nil
174# End:
175# vim: set expandtab tabstop=2 shiftwidth=2: