blob: 5a75d85c8cad185bfc83cb19f31e97d144963828 [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# 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.
caryclark17f0b6d2014-07-22 10:15:34 -07005# GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2).
6{
7 'include_dirs': [
8 '../dm',
9 '../gm',
mtkleincd1f2da2015-07-28 08:55:14 -070010 '../include/private',
caryclark17f0b6d2014-07-22 10:15:34 -070011 '../src/core',
12 '../src/effects',
mtklein8a4527e2015-01-31 20:00:58 -080013 '../src/images',
14 '../src/lazy',
caryclark17f0b6d2014-07-22 10:15:34 -070015 '../src/utils',
ethannicholas3cb95422016-02-09 12:44:06 -080016 '../tools/debugger',
mtklein8a4527e2015-01-31 20:00:58 -080017 '../tests',
caryclark17f0b6d2014-07-22 10:15:34 -070018 ],
19 'dependencies': [
20 'etc1.gyp:libetc1',
21 'flags.gyp:flags',
caryclark17f0b6d2014-07-22 10:15:34 -070022 'jsoncpp.gyp:jsoncpp',
msarettb747b902015-11-06 11:15:49 -080023 'libpng.gyp:libpng',
caryclark17f0b6d2014-07-22 10:15:34 -070024 'skia_lib.gyp:skia_lib',
fmalita2aafe6f2015-02-06 12:51:10 -080025 'svg.gyp:svg',
caryclark17f0b6d2014-07-22 10:15:34 -070026 'tools.gyp:crash_handler',
mtkleinafb43792014-08-19 15:55:55 -070027 'tools.gyp:proc_stats',
caryclark17f0b6d2014-07-22 10:15:34 -070028 'tools.gyp:sk_tool_utils',
ethannicholasf62a8b72016-02-11 10:35:21 -080029 'tools.gyp:url_data_manager',
mtklein748ca3b2015-01-15 10:56:12 -080030 'tools.gyp:timer',
mtklein8a4527e2015-01-31 20:00:58 -080031 'xml.gyp:xml',
halcanary47ef4d52015-03-03 09:13:09 -080032 'xps.gyp:xps',
caryclark17f0b6d2014-07-22 10:15:34 -070033 ],
34 'includes': [
35 'gmslides.gypi',
36 'pathops_unittest.gypi',
37 'tests.gypi',
38 ],
39 'sources': [
40 '../dm/DM.cpp',
mtklein748ca3b2015-01-15 10:56:12 -080041 '../dm/DMSrcSink.cpp',
scroggo7a10fb62014-11-04 07:21:10 -080042 '../dm/DMJsonWriter.cpp',
caryclark17f0b6d2014-07-22 10:15:34 -070043 '../gm/gm.cpp',
caryclark17f0b6d2014-07-22 10:15:34 -070044
ethannicholas3cb95422016-02-09 12:44:06 -080045 '../tools/debugger/SkDebugCanvas.cpp',
46 '../tools/debugger/SkDrawCommand.cpp',
47 '../tools/debugger/SkObjectParser.cpp',
48 '../tools/debugger/SkOverdrawMode.h',
49 '../tools/debugger/SkOverdrawMode.cpp',
caryclark17f0b6d2014-07-22 10:15:34 -070050 ],
mtkleine681c2a2014-07-31 11:26:58 -070051 'conditions': [
52 [ 'skia_gpu == 1', {
53 'dependencies': [ 'gputest.gyp:skgputest' ],
54 }],
halcanary7a76f9c2016-02-03 11:53:18 -080055 [ 'skia_mojo', { 'dependencies': [ 'skmojo.gyp:skmojo' ], } ],
mtkleine681c2a2014-07-31 11:26:58 -070056 ],
caryclark17f0b6d2014-07-22 10:15:34 -070057}