9ac68ee259
This breaks a bunch of circular dependencies between tools and gm and bench. BUG=skia: Committed: https://skia.googlesource.com/skia/+/4ed75287aed6371c6e4a41ffcc78c8a49c9810ed CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Debug-iOS-Trybot,Test-Ubuntu12-ShuttleA-GTX660-x86-Debug-Trybot R=tfarina@chromium.org, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/344213003
77 lines
2.3 KiB
Python
77 lines
2.3 KiB
Python
# GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2).
|
|
# vim: set expandtab tabstop=4 shiftwidth=4
|
|
{
|
|
'includes': [ 'apptype_console.gypi' ],
|
|
|
|
'targets': [{
|
|
'target_name': 'dm',
|
|
'type': 'executable',
|
|
'include_dirs': [
|
|
'../bench',
|
|
'../dm',
|
|
'../gm',
|
|
'../tests',
|
|
'../src/images',
|
|
'../src/lazy',
|
|
'../src/core',
|
|
'../src/effects',
|
|
'../src/pipe/utils/',
|
|
'../src/utils',
|
|
'../src/utils/debugger',
|
|
'../tools',
|
|
],
|
|
'includes': [
|
|
'bench.gypi',
|
|
'gmslides.gypi',
|
|
'pathops_unittest.gypi',
|
|
'tests.gypi',
|
|
],
|
|
'sources': [
|
|
'../dm/DM.cpp',
|
|
'../dm/DMBenchTask.cpp',
|
|
'../dm/DMCpuGMTask.cpp',
|
|
'../dm/DMExpectationsTask.cpp',
|
|
'../dm/DMGpuGMTask.cpp',
|
|
'../dm/DMPDFRasterizeTask.cpp',
|
|
'../dm/DMPDFTask.cpp',
|
|
'../dm/DMPipeTask.cpp',
|
|
'../dm/DMQuiltTask.cpp',
|
|
'../dm/DMRecordTask.cpp',
|
|
'../dm/DMReplayTask.cpp',
|
|
'../dm/DMReporter.cpp',
|
|
'../dm/DMSKPTask.cpp',
|
|
'../dm/DMSerializeTask.cpp',
|
|
'../dm/DMTask.cpp',
|
|
'../dm/DMTaskRunner.cpp',
|
|
'../dm/DMTestTask.cpp',
|
|
'../dm/DMUtil.cpp',
|
|
'../dm/DMWriteTask.cpp',
|
|
'../gm/gm.cpp',
|
|
'../gm/gm_expectations.cpp',
|
|
|
|
'../src/pipe/utils/SamplePipeControllers.cpp',
|
|
'../src/utils/debugger/SkDebugCanvas.cpp',
|
|
'../src/utils/debugger/SkDrawCommand.cpp',
|
|
'../src/utils/debugger/SkObjectParser.cpp',
|
|
],
|
|
'dependencies': [
|
|
'etc1.gyp:libetc1',
|
|
'flags.gyp:flags',
|
|
'gputest.gyp:skgputest',
|
|
'jsoncpp.gyp:jsoncpp',
|
|
'skia_lib.gyp:skia_lib',
|
|
'tools.gyp:crash_handler',
|
|
],
|
|
'conditions': [
|
|
['skia_android_framework', {
|
|
'libraries': [ '-lskia' ],
|
|
}],
|
|
['skia_poppler_enabled', {
|
|
'sources': [ '../src/utils/SkPDFRasterizer.cpp' ],
|
|
'defines': [ 'SK_BUILD_POPPLER' ],
|
|
'dependencies': [ 'poppler.gyp:*' ],
|
|
}],
|
|
],
|
|
}]
|
|
}
|