• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5# GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2).
6{
7  'include_dirs': [
8    '../dm',
9    '../gm',
10    '../include/private',
11    '../src/core',
12    '../src/effects',
13    '../src/images',
14    '../src/lazy',
15    '../src/utils',
16    '../tools/debugger',
17    '../tests',
18  ],
19  'dependencies': [
20    'etc1.gyp:libetc1',
21    'flags.gyp:flags',
22    'jsoncpp.gyp:jsoncpp',
23    'libpng.gyp:libpng',
24    'skia_lib.gyp:skia_lib',
25    'svg.gyp:svg',
26    'tools.gyp:crash_handler',
27    'tools.gyp:proc_stats',
28    'tools.gyp:sk_tool_utils',
29    'tools.gyp:url_data_manager',
30    'tools.gyp:timer',
31    'xml.gyp:xml',
32    'xps.gyp:xps',
33  ],
34  'includes': [
35    'gmslides.gypi',
36    'pathops_unittest.gypi',
37    'tests.gypi',
38  ],
39  'sources': [
40    '../dm/DM.cpp',
41    '../dm/DMSrcSink.cpp',
42    '../dm/DMJsonWriter.cpp',
43    '../gm/gm.cpp',
44
45    '../tools/debugger/SkDebugCanvas.cpp',
46    '../tools/debugger/SkDrawCommand.cpp',
47    '../tools/debugger/SkObjectParser.cpp',
48    '../tools/debugger/SkOverdrawMode.h',
49    '../tools/debugger/SkOverdrawMode.cpp',
50  ],
51  'conditions': [
52    [ 'skia_gpu == 1', {
53      'dependencies': [ 'gputest.gyp:skgputest' ],
54    }],
55    [ 'skia_mojo', { 'dependencies': [ 'skmojo.gyp:skmojo' ], } ],
56  ],
57}
58