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 '../src/core', 11 '../src/effects', 12 '../src/images', 13 '../src/lazy', 14 '../src/pipe/utils/', 15 '../src/utils', 16 '../src/utils/debugger', 17 '../tests', 18 '../tools', 19 ], 20 'dependencies': [ 21 'etc1.gyp:libetc1', 22 'flags.gyp:flags', 23 'jsoncpp.gyp:jsoncpp', 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:timer', 30 'xml.gyp:xml', 31 'xps.gyp:xps', 32 ], 33 'includes': [ 34 'gmslides.gypi', 35 'pathops_unittest.gypi', 36 'tests.gypi', 37 ], 38 'sources': [ 39 '../dm/DM.cpp', 40 '../dm/DMSrcSink.cpp', 41 '../dm/DMJsonWriter.cpp', 42 '../gm/gm.cpp', 43 44 '../src/pipe/utils/SamplePipeControllers.cpp', 45 '../src/utils/debugger/SkDebugCanvas.cpp', 46 '../src/utils/debugger/SkDrawCommand.cpp', 47 '../src/utils/debugger/SkObjectParser.cpp', 48 ], 49 'conditions': [ 50 [ 'skia_gpu == 1', { 51 'dependencies': [ 'gputest.gyp:skgputest' ], 52 }], 53 ], 54} 55