OLD | NEW |
1 # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2). | 1 # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2). |
2 # vim: set expandtab tabstop=4 shiftwidth=4 | |
3 { | 2 { |
4 'includes': [ 'apptype_console.gypi' ], | 3 'includes': [ 'apptype_console.gypi' ], |
5 | 4 |
6 'targets': [{ | 5 'targets': [{ |
7 'target_name': 'dm', | 6 'target_name': 'dm', |
8 'type': 'executable', | 7 'type': 'executable', |
9 'include_dirs': [ | |
10 '../dm', | |
11 '../gm', | |
12 '../tests', | |
13 '../src/images', | |
14 '../src/lazy', | |
15 '../src/core', | |
16 '../src/effects', | |
17 '../src/pipe/utils/', | |
18 '../src/utils', | |
19 '../src/utils/debugger', | |
20 '../tools', | |
21 ], | |
22 'includes': [ | 8 'includes': [ |
23 'gmslides.gypi', | 9 'dm.gypi', |
24 'pathops_unittest.gypi', | |
25 'tests.gypi', | |
26 ], | |
27 'sources': [ | |
28 '../dm/DM.cpp', | |
29 '../dm/DMCpuGMTask.cpp', | |
30 '../dm/DMExpectationsTask.cpp', | |
31 '../dm/DMGpuGMTask.cpp', | |
32 '../dm/DMPDFRasterizeTask.cpp', | |
33 '../dm/DMPDFTask.cpp', | |
34 '../dm/DMPipeTask.cpp', | |
35 '../dm/DMQuiltTask.cpp', | |
36 '../dm/DMReporter.cpp', | |
37 '../dm/DMSKPTask.cpp', | |
38 '../dm/DMSerializeTask.cpp', | |
39 '../dm/DMTask.cpp', | |
40 '../dm/DMTaskRunner.cpp', | |
41 '../dm/DMTestTask.cpp', | |
42 '../dm/DMUtil.cpp', | |
43 '../dm/DMWriteTask.cpp', | |
44 '../gm/gm.cpp', | |
45 '../gm/gm_expectations.cpp', | |
46 | |
47 '../src/pipe/utils/SamplePipeControllers.cpp', | |
48 '../src/utils/debugger/SkDebugCanvas.cpp', | |
49 '../src/utils/debugger/SkDrawCommand.cpp', | |
50 '../src/utils/debugger/SkObjectParser.cpp', | |
51 ], | |
52 'dependencies': [ | |
53 'etc1.gyp:libetc1', | |
54 'flags.gyp:flags', | |
55 'gputest.gyp:skgputest', | |
56 'jsoncpp.gyp:jsoncpp', | |
57 'skia_lib.gyp:skia_lib', | |
58 'tools.gyp:crash_handler', | |
59 'tools.gyp:sk_tool_utils', | |
60 ], | 10 ], |
61 'conditions': [ | 11 'conditions': [ |
62 ['skia_android_framework', { | 12 ['skia_android_framework', { |
63 'libraries': [ '-lskia' ], | 13 'libraries': [ '-lskia' ], |
64 }], | 14 }], |
65 ['skia_poppler_enabled', { | 15 ['skia_poppler_enabled', { |
66 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], | 16 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], |
67 'defines': [ 'SK_BUILD_POPPLER' ], | 17 'defines': [ 'SK_BUILD_POPPLER' ], |
68 'dependencies': [ 'poppler.gyp:*' ], | 18 'dependencies': [ 'poppler.gyp:*' ], |
69 }], | 19 }], |
70 ], | 20 ], |
71 }] | 21 }] |
72 } | 22 } |
OLD | NEW |