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', |
(...skipping 17 matching lines...) Expand all Loading... |
28 'tools.gyp:sk_tool_utils', | 28 'tools.gyp:sk_tool_utils', |
29 'zlib.gyp:zlib', | 29 'zlib.gyp:zlib', |
30 ], | 30 ], |
31 'conditions': [ | 31 'conditions': [ |
32 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', { | 32 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', { |
33 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], | 33 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], |
34 }], | 34 }], |
35 [ 'not skia_pdf', { | 35 [ 'not skia_pdf', { |
36 'dependencies!': [ 'pdf.gyp:pdf', 'zlib.gyp:zlib' ], | 36 'dependencies!': [ 'pdf.gyp:pdf', 'zlib.gyp:zlib' ], |
37 'dependencies': [ 'pdf.gyp:nopdf' ], | 37 'dependencies': [ 'pdf.gyp:nopdf' ], |
38 'sources!': [ '<!@(python find.py ../tests "PDF*.c*")', ], | 38 'sources!': [ '<!@(python find.py "PDF*.c*" ../tests)', ], |
39 }], | 39 }], |
40 [ 'skia_gpu_extra_tests_path', { | 40 [ 'skia_gpu_extra_tests_path', { |
41 'sources': [ | 41 'sources': [ |
42 '<!@(python find.py <(skia_gpu_extra_tests_path) "*.c*")', | 42 '<!@(python find.py "*.c*" <(skia_gpu_extra_tests_path))', |
43 ], | 43 ], |
44 }], | 44 }], |
45 ], | 45 ], |
46 'sources': [ | 46 'sources': [ |
47 '../tests/Test.h', | 47 '../tests/Test.h', |
48 '<!@(python find.py ../tests "*.c*")', | 48 '<!@(python find.py "*.c*" ../tests)', |
49 '../tools/debugger/SkDrawCommand.h', | 49 '../tools/debugger/SkDrawCommand.h', |
50 '../tools/debugger/SkDrawCommand.cpp', | 50 '../tools/debugger/SkDrawCommand.cpp', |
51 '../tools/debugger/SkDebugCanvas.h', | 51 '../tools/debugger/SkDebugCanvas.h', |
52 '../tools/debugger/SkDebugCanvas.cpp', | 52 '../tools/debugger/SkDebugCanvas.cpp', |
53 '../tools/debugger/SkJsonWriteBuffer.h', | 53 '../tools/debugger/SkJsonWriteBuffer.h', |
54 '../tools/debugger/SkJsonWriteBuffer.cpp', | 54 '../tools/debugger/SkJsonWriteBuffer.cpp', |
55 '../tools/debugger/SkObjectParser.h', | 55 '../tools/debugger/SkObjectParser.h', |
56 '../tools/debugger/SkObjectParser.cpp', | 56 '../tools/debugger/SkObjectParser.cpp', |
57 '../tools/debugger/SkOverdrawMode.h', | 57 '../tools/debugger/SkOverdrawMode.h', |
58 '../tools/debugger/SkOverdrawMode.cpp', | 58 '../tools/debugger/SkOverdrawMode.cpp', |
59 ], | 59 ], |
60 'sources!': [ | 60 'sources!': [ |
61 '../tests/SkpSkGrTest.cpp', | 61 '../tests/SkpSkGrTest.cpp', |
62 '../tests/skia_test.cpp', | 62 '../tests/skia_test.cpp', |
63 '../tests/PathOpsAngleIdeas.cpp', | 63 '../tests/PathOpsAngleIdeas.cpp', |
64 '../tests/PathOpsBattles.cpp', | 64 '../tests/PathOpsBattles.cpp', |
65 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', | 65 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
66 '../tests/PathOpsDebug.cpp', | 66 '../tests/PathOpsDebug.cpp', |
67 '../tests/PathOpsOpLoopThreadedTest.cpp', | 67 '../tests/PathOpsOpLoopThreadedTest.cpp', |
68 '../tests/PathOpsSkpClipTest.cpp', | 68 '../tests/PathOpsSkpClipTest.cpp', |
69 ], | 69 ], |
70 } | 70 } |
OLD | NEW |