OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # Common gypi for unit tests. | 5 # Common gypi for unit tests. |
6 { | 6 { |
7 'include_dirs': [ | 7 'include_dirs': [ |
8 '../include/private', | 8 '../include/private', |
9 '../src/codec', | 9 '../src/codec', |
10 '../src/core', | 10 '../src/core', |
11 '../src/effects', | 11 '../src/effects', |
12 '../src/image', | 12 '../src/image', |
13 '../src/lazy', | 13 '../src/lazy', |
14 '../src/images', | 14 '../src/images', |
15 '../src/pathops', | 15 '../src/pathops', |
16 '../src/pdf', | 16 '../src/pdf', |
17 '../src/ports', | 17 '../src/ports', |
18 '../src/pipe/utils', | 18 '../src/pipe/utils', |
19 '../src/utils', | 19 '../src/utils', |
20 '../src/utils/debugger', | 20 '../src/utils/debugger', |
21 ], | 21 ], |
22 'dependencies': [ | 22 'dependencies': [ |
23 'experimental.gyp:experimental', | 23 'experimental.gyp:experimental', |
24 'flags.gyp:flags_common', | 24 'flags.gyp:flags_common', |
25 'pdf.gyp:pdf', | 25 'pdf.gyp:pdf', |
26 'skia_lib.gyp:skia_lib', | 26 'skia_lib.gyp:skia_lib', |
27 'tools.gyp:picture_utils', | 27 'tools.gyp:picture_utils', |
28 'tools.gyp:resources', | 28 'tools.gyp:resources', |
29 'tools.gyp:sk_tool_utils', | 29 'tools.gyp:sk_tool_utils', |
| 30 'zlib.gyp:zlib', |
30 ], | 31 ], |
31 'conditions': [ | 32 'conditions': [ |
32 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "an
droid"]', { | 33 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "an
droid"]', { |
33 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], | 34 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], |
34 }], | 35 }], |
35 [ 'skia_android_framework == 1', { | 36 [ 'skia_android_framework == 1', { |
36 'libraries': [ | 37 'libraries': [ |
37 '-ldl', | 38 '-ldl', |
38 ], | 39 ], |
39 }], | 40 }], |
40 [ 'not skia_pdf', { | 41 [ 'not skia_pdf', { |
41 'dependencies!': [ 'pdf.gyp:pdf' ], | 42 'dependencies!': [ 'pdf.gyp:pdf', 'zlib.gyp:zlib' ], |
42 'dependencies': [ 'pdf.gyp:nopdf' ], | 43 'dependencies': [ 'pdf.gyp:nopdf' ], |
43 'sources!': [ '<!@(python find.py ../tests "PDF*.c*")', ], | 44 'sources!': [ '<!@(python find.py ../tests "PDF*.c*")', ], |
44 }], | 45 }], |
45 [ 'skia_gpu_extra_tests_path', { | 46 [ 'skia_gpu_extra_tests_path', { |
46 'sources': [ | 47 'sources': [ |
47 '<!@(python find.py <(skia_gpu_extra_tests_path) "*.c*")', | 48 '<!@(python find.py <(skia_gpu_extra_tests_path) "*.c*")', |
48 ], | 49 ], |
49 }], | 50 }], |
50 ], | 51 ], |
51 'sources': [ | 52 'sources': [ |
(...skipping 11 matching lines...) Expand all Loading... |
63 '../tests/SkpSkGrTest.cpp', | 64 '../tests/SkpSkGrTest.cpp', |
64 '../tests/skia_test.cpp', | 65 '../tests/skia_test.cpp', |
65 '../tests/PathOpsAngleIdeas.cpp', | 66 '../tests/PathOpsAngleIdeas.cpp', |
66 '../tests/PathOpsBattles.cpp', | 67 '../tests/PathOpsBattles.cpp', |
67 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', | 68 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
68 '../tests/PathOpsDebug.cpp', | 69 '../tests/PathOpsDebug.cpp', |
69 '../tests/PathOpsOpLoopThreadedTest.cpp', | 70 '../tests/PathOpsOpLoopThreadedTest.cpp', |
70 '../tests/PathOpsSkpClipTest.cpp', | 71 '../tests/PathOpsSkpClipTest.cpp', |
71 ], | 72 ], |
72 } | 73 } |
OLD | NEW |