OLD | NEW |
1 # Common gypi for unit tests. | 1 # Common gypi for unit tests. |
2 { | 2 { |
3 'include_dirs': [ | 3 'include_dirs': [ |
4 '../src/core', | 4 '../src/core', |
5 '../src/effects', | 5 '../src/effects', |
6 '../src/image', | 6 '../src/image', |
7 '../src/lazy', | 7 '../src/lazy', |
8 '../src/images', | 8 '../src/images', |
9 '../src/pathops', | 9 '../src/pathops', |
10 '../src/pdf', | 10 '../src/pdf', |
11 '../src/pipe/utils', | 11 '../src/pipe/utils', |
12 '../src/utils', | 12 '../src/utils', |
13 '../src/utils/debugger', | 13 '../src/utils/debugger', |
14 | 14 |
15 # Needed for TDStackNesterTest. | 15 # Needed for TDStackNesterTest. |
16 '../experimental/PdfViewer', | 16 '../experimental/PdfViewer', |
17 '../experimental/PdfViewer/src', | 17 '../experimental/PdfViewer/src', |
18 ], | 18 ], |
19 'dependencies': [ | 19 'dependencies': [ |
20 'experimental.gyp:experimental', | 20 'experimental.gyp:experimental', |
21 'flags.gyp:flags_common', | 21 'flags.gyp:flags_common', |
22 'pdf.gyp:pdf', | 22 'pdf.gyp:pdf', |
23 'skia_lib.gyp:skia_lib', | 23 'skia_lib.gyp:skia_lib', |
24 'tools.gyp:picture_utils', | 24 'tools.gyp:picture_utils', |
25 'tools.gyp:resources', | 25 'tools.gyp:resources', |
26 'tools.gyp:sk_tool_utils', | 26 'tools.gyp:sk_tool_utils', |
27 ], | 27 ], |
28 'conditions': [ | 28 'conditions': [ |
| 29 [ 'skia_os == "android"', { |
| 30 'dependencies': [ |
| 31 'ports.gyp:ports', |
| 32 ], |
| 33 'include_dirs': [ |
| 34 '../src/ports', |
| 35 ], |
| 36 'sources': [ |
| 37 '../tests/FontConfigParser.cpp', |
| 38 ], |
| 39 }], |
29 [ 'skia_android_framework == 1', { | 40 [ 'skia_android_framework == 1', { |
30 'libraries': [ | 41 'libraries': [ |
31 '-ldl', | 42 '-ldl', |
32 ], | 43 ], |
33 }], | 44 }], |
34 ], | 45 ], |
35 'sources': [ | 46 'sources': [ |
36 '../tests/Test.cpp', | 47 '../tests/Test.cpp', |
37 '../tests/Test.h', | 48 '../tests/Test.h', |
38 | 49 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 '../src/utils/debugger/SkObjectParser.h', | 217 '../src/utils/debugger/SkObjectParser.h', |
207 '../src/utils/debugger/SkObjectParser.cpp', | 218 '../src/utils/debugger/SkObjectParser.cpp', |
208 | 219 |
209 '../tests/PipeTest.cpp', | 220 '../tests/PipeTest.cpp', |
210 '../src/pipe/utils/SamplePipeControllers.cpp', | 221 '../src/pipe/utils/SamplePipeControllers.cpp', |
211 | 222 |
212 '../tests/TDStackNesterTest.cpp', | 223 '../tests/TDStackNesterTest.cpp', |
213 '../experimental/PdfViewer/src/SkTDStackNester.h', | 224 '../experimental/PdfViewer/src/SkTDStackNester.h', |
214 ], | 225 ], |
215 } | 226 } |
OLD | NEW |