scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 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. |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 5 | # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2). |
| 6 | { |
| 7 | 'include_dirs': [ |
| 8 | '../dm', |
| 9 | '../gm', |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 10 | '../include/private', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 11 | '../src/core', |
| 12 | '../src/effects', |
mtklein | 8a4527e | 2015-01-31 20:00:58 -0800 | [diff] [blame] | 13 | '../src/images', |
| 14 | '../src/lazy', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 15 | '../src/utils', |
ethannicholas | 3cb9542 | 2016-02-09 12:44:06 -0800 | [diff] [blame] | 16 | '../tools/debugger', |
mtklein | 8a4527e | 2015-01-31 20:00:58 -0800 | [diff] [blame] | 17 | '../tests', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 18 | ], |
| 19 | 'dependencies': [ |
| 20 | 'etc1.gyp:libetc1', |
| 21 | 'flags.gyp:flags', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 22 | 'jsoncpp.gyp:jsoncpp', |
msarett | b747b90 | 2015-11-06 11:15:49 -0800 | [diff] [blame] | 23 | 'libpng.gyp:libpng', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 24 | 'skia_lib.gyp:skia_lib', |
fmalita | 2aafe6f | 2015-02-06 12:51:10 -0800 | [diff] [blame] | 25 | 'svg.gyp:svg', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 26 | 'tools.gyp:crash_handler', |
mtklein | afb4379 | 2014-08-19 15:55:55 -0700 | [diff] [blame] | 27 | 'tools.gyp:proc_stats', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 28 | 'tools.gyp:sk_tool_utils', |
ethannicholas | f62a8b7 | 2016-02-11 10:35:21 -0800 | [diff] [blame] | 29 | 'tools.gyp:url_data_manager', |
mtklein | 748ca3b | 2015-01-15 10:56:12 -0800 | [diff] [blame] | 30 | 'tools.gyp:timer', |
mtklein | 8a4527e | 2015-01-31 20:00:58 -0800 | [diff] [blame] | 31 | 'xml.gyp:xml', |
halcanary | 47ef4d5 | 2015-03-03 09:13:09 -0800 | [diff] [blame] | 32 | 'xps.gyp:xps', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 33 | ], |
| 34 | 'includes': [ |
| 35 | 'gmslides.gypi', |
| 36 | 'pathops_unittest.gypi', |
| 37 | 'tests.gypi', |
| 38 | ], |
| 39 | 'sources': [ |
| 40 | '../dm/DM.cpp', |
mtklein | 748ca3b | 2015-01-15 10:56:12 -0800 | [diff] [blame] | 41 | '../dm/DMSrcSink.cpp', |
scroggo | 7a10fb6 | 2014-11-04 07:21:10 -0800 | [diff] [blame] | 42 | '../dm/DMJsonWriter.cpp', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 43 | '../gm/gm.cpp', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 44 | |
ethannicholas | 3cb9542 | 2016-02-09 12:44:06 -0800 | [diff] [blame] | 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', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 50 | ], |
mtklein | e681c2a | 2014-07-31 11:26:58 -0700 | [diff] [blame] | 51 | 'conditions': [ |
| 52 | [ 'skia_gpu == 1', { |
| 53 | 'dependencies': [ 'gputest.gyp:skgputest' ], |
| 54 | }], |
halcanary | 7a76f9c | 2016-02-03 11:53:18 -0800 | [diff] [blame] | 55 | [ 'skia_mojo', { 'dependencies': [ 'skmojo.gyp:skmojo' ], } ], |
mtklein | e681c2a | 2014-07-31 11:26:58 -0700 | [diff] [blame] | 56 | ], |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 57 | } |