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 19 matching lines...) Expand all Loading... |
30 ], | 30 ], |
31 'conditions': [ | 31 'conditions': [ |
32 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "an
droid"]', { | 32 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "an
droid"]', { |
33 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], | 33 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], |
34 }], | 34 }], |
35 [ 'skia_android_framework == 1', { | 35 [ 'skia_android_framework == 1', { |
36 'libraries': [ | 36 'libraries': [ |
37 '-ldl', | 37 '-ldl', |
38 ], | 38 ], |
39 }], | 39 }], |
| 40 [ 'not skia_pdf', { |
| 41 'dependencies!': [ 'pdf.gyp:pdf' ], |
| 42 'dependencies': [ 'pdf.gyp:nopdf' ], |
| 43 }], |
40 ], | 44 ], |
41 'sources': [ | 45 'sources': [ |
42 '../tests/Test.h', | 46 '../tests/Test.h', |
43 '<!@(python find.py ../tests "*.c*")', | 47 '<!@(python find.py ../tests "*.c*")', |
44 '../src/utils/debugger/SkDrawCommand.h', | 48 '../src/utils/debugger/SkDrawCommand.h', |
45 '../src/utils/debugger/SkDrawCommand.cpp', | 49 '../src/utils/debugger/SkDrawCommand.cpp', |
46 '../src/utils/debugger/SkDebugCanvas.h', | 50 '../src/utils/debugger/SkDebugCanvas.h', |
47 '../src/utils/debugger/SkDebugCanvas.cpp', | 51 '../src/utils/debugger/SkDebugCanvas.cpp', |
48 '../src/utils/debugger/SkObjectParser.h', | 52 '../src/utils/debugger/SkObjectParser.h', |
49 '../src/utils/debugger/SkObjectParser.cpp', | 53 '../src/utils/debugger/SkObjectParser.cpp', |
50 '../src/pipe/utils/SamplePipeControllers.cpp', | 54 '../src/pipe/utils/SamplePipeControllers.cpp', |
51 ], | 55 ], |
52 'sources!': [ | 56 'sources!': [ |
53 '../tests/SkpSkGrTest.cpp', | 57 '../tests/SkpSkGrTest.cpp', |
54 '../tests/skia_test.cpp', | 58 '../tests/skia_test.cpp', |
55 '../tests/PathOpsAngleIdeas.cpp', | 59 '../tests/PathOpsAngleIdeas.cpp', |
56 '../tests/PathOpsBattles.cpp', | 60 '../tests/PathOpsBattles.cpp', |
57 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', | 61 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
58 '../tests/PathOpsDebug.cpp', | 62 '../tests/PathOpsDebug.cpp', |
59 '../tests/PathOpsOpLoopThreadedTest.cpp', | 63 '../tests/PathOpsOpLoopThreadedTest.cpp', |
60 '../tests/PathOpsSkpClipTest.cpp', | 64 '../tests/PathOpsSkpClipTest.cpp', |
61 ], | 65 ], |
62 } | 66 } |
OLD | NEW |