OLD | NEW |
1 # GYP file to build unit tests. | 1 # GYP file to build unit tests. |
2 { | 2 { |
3 'includes': [ | 3 'includes': [ |
4 'apptype_console.gypi', | 4 'apptype_console.gypi', |
5 ], | 5 ], |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'tests', | 8 'target_name': 'tests', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'include_dirs' : [ | 10 'include_dirs' : [ |
11 '../src/core', | 11 '../src/core', |
12 '../src/effects', | 12 '../src/effects', |
13 '../src/image', | 13 '../src/image', |
14 '../src/lazy', | 14 '../src/lazy', |
15 '../src/pathops', | 15 '../src/pathops', |
16 '../src/pdf', | 16 '../src/pdf', |
17 '../src/pipe/utils', | 17 '../src/pipe/utils', |
18 '../src/utils', | 18 '../src/utils', |
19 '../tools/', | 19 '../tools/', |
| 20 |
| 21 # Needed for TDStackNesterTest. |
| 22 '../experimental/PdfViewer', |
| 23 '../experimental/PdfViewer/src', |
20 ], | 24 ], |
21 'includes': [ | 25 'includes': [ |
22 'pathops_unittest.gypi', | 26 'pathops_unittest.gypi', |
23 ], | 27 ], |
24 'sources': [ | 28 'sources': [ |
25 '../tests/AAClipTest.cpp', | 29 '../tests/AAClipTest.cpp', |
26 '../tests/AndroidPaintTest.cpp', | 30 '../tests/AndroidPaintTest.cpp', |
27 '../tests/AnnotationTest.cpp', | 31 '../tests/AnnotationTest.cpp', |
28 '../tests/ARGBImageEncoderTest.cpp', | 32 '../tests/ARGBImageEncoderTest.cpp', |
29 '../tests/AtomicTest.cpp', | 33 '../tests/AtomicTest.cpp', |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 '../tests/ToUnicode.cpp', | 149 '../tests/ToUnicode.cpp', |
146 '../tests/Typeface.cpp', | 150 '../tests/Typeface.cpp', |
147 '../tests/UnicodeTest.cpp', | 151 '../tests/UnicodeTest.cpp', |
148 '../tests/UnitTestTest.cpp', | 152 '../tests/UnitTestTest.cpp', |
149 '../tests/UtilsTest.cpp', | 153 '../tests/UtilsTest.cpp', |
150 '../tests/WArrayTest.cpp', | 154 '../tests/WArrayTest.cpp', |
151 '../tests/WritePixelsTest.cpp', | 155 '../tests/WritePixelsTest.cpp', |
152 '../tests/Writer32Test.cpp', | 156 '../tests/Writer32Test.cpp', |
153 '../tests/XfermodeTest.cpp', | 157 '../tests/XfermodeTest.cpp', |
154 | 158 |
| 159 '../experimental/PdfViewer/src/SkTDStackNester.h', |
| 160 '../tests/TDStackNesterTest.cpp', |
| 161 |
155 # Needed for PipeTest. | 162 # Needed for PipeTest. |
156 '../src/pipe/utils/SamplePipeControllers.cpp', | 163 '../src/pipe/utils/SamplePipeControllers.cpp', |
157 ], | 164 ], |
158 'dependencies': [ | 165 'dependencies': [ |
159 'skia_lib.gyp:skia_lib', | 166 'skia_lib.gyp:skia_lib', |
160 'flags.gyp:flags', | 167 'flags.gyp:flags', |
161 'experimental.gyp:experimental', | 168 'experimental.gyp:experimental', |
162 'pdf.gyp:pdf', | 169 'pdf.gyp:pdf', |
163 'tools.gyp:picture_utils', | 170 'tools.gyp:picture_utils', |
164 ], | 171 ], |
165 'conditions': [ | 172 'conditions': [ |
166 [ 'skia_gpu == 1', { | 173 [ 'skia_gpu == 1', { |
167 'include_dirs': [ | 174 'include_dirs': [ |
168 '../src/gpu', | 175 '../src/gpu', |
169 ], | 176 ], |
170 }], | 177 }], |
171 ], | 178 ], |
172 }, | 179 }, |
173 ], | 180 ], |
174 } | 181 } |
175 | 182 |
176 # Local Variables: | 183 # Local Variables: |
177 # tab-width:2 | 184 # tab-width:2 |
178 # indent-tabs-mode:nil | 185 # indent-tabs-mode:nil |
179 # End: | 186 # End: |
180 # vim: set expandtab tabstop=2 shiftwidth=2: | 187 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |