skia2/gyp/dm.gypi
mtklein 55e88b226c More natural way to serialize GPU tasks and tests.
This basically takes out the Windows-only hacks and promotes them to
cross-platform behavior driven by --gpu_threading.
    - When --gpu_threading is false (the default), this puts GPU tasks and tests
      together in the same GPU enclave.  They all run serially.
    - When --gpu_threading is true, both the tests and the tasks run totally
      independently, just like the thread-safe CPU-bound work.

BUG=skia:3255

Review URL: https://codereview.chromium.org/847273005
2015-01-21 15:50:13 -08:00

48 lines
1.0 KiB
Python

# GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2).
{
'include_dirs': [
'../dm',
'../gm',
'../tests',
'../src/images',
'../src/lazy',
'../src/core',
'../src/effects',
'../src/pipe/utils/',
'../src/utils',
'../src/utils/debugger',
'../tools',
],
'dependencies': [
'etc1.gyp:libetc1',
'flags.gyp:flags',
'jsoncpp.gyp:jsoncpp',
'skia_lib.gyp:skia_lib',
'tools.gyp:crash_handler',
'tools.gyp:proc_stats',
'tools.gyp:sk_tool_utils',
'tools.gyp:timer',
],
'includes': [
'gmslides.gypi',
'pathops_unittest.gypi',
'tests.gypi',
],
'sources': [
'../dm/DM.cpp',
'../dm/DMSrcSink.cpp',
'../dm/DMJsonWriter.cpp',
'../gm/gm.cpp',
'../src/pipe/utils/SamplePipeControllers.cpp',
'../src/utils/debugger/SkDebugCanvas.cpp',
'../src/utils/debugger/SkDrawCommand.cpp',
'../src/utils/debugger/SkObjectParser.cpp',
],
'conditions': [
[ 'skia_gpu == 1', {
'dependencies': [ 'gputest.gyp:skgputest' ],
}],
],
}