Home | History | Annotate | Download | only in gyp
      1 # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2).
      2 # vim: set expandtab tabstop=4 shiftwidth=4
      3 {
      4     'includes': [ 'apptype_console.gypi' ],
      5 
      6     'targets': [{
      7         'target_name': 'dm',
      8         'type': 'executable',
      9         'include_dirs': [
     10             '../bench',
     11             '../dm',
     12             '../gm',
     13             '../tests',
     14             '../src/images',
     15             '../src/lazy',
     16             '../src/core',
     17             '../src/effects',
     18             '../src/pipe/utils/',
     19             '../src/utils',
     20             '../src/utils/debugger',
     21             '../tools',
     22         ],
     23         'includes': [
     24             'bench.gypi',
     25             'gmslides.gypi',
     26             'pathops_unittest.gypi',
     27             'tests.gypi',
     28         ],
     29         'sources': [
     30             '../dm/DM.cpp',
     31             '../dm/DMBenchTask.cpp',
     32             '../dm/DMCpuGMTask.cpp',
     33             '../dm/DMExpectationsTask.cpp',
     34             '../dm/DMGpuGMTask.cpp',
     35             '../dm/DMPDFRasterizeTask.cpp',
     36             '../dm/DMPDFTask.cpp',
     37             '../dm/DMPipeTask.cpp',
     38             '../dm/DMQuiltTask.cpp',
     39             '../dm/DMRecordTask.cpp',
     40             '../dm/DMReplayTask.cpp',
     41             '../dm/DMReporter.cpp',
     42             '../dm/DMSKPTask.cpp',
     43             '../dm/DMSerializeTask.cpp',
     44             '../dm/DMTask.cpp',
     45             '../dm/DMTaskRunner.cpp',
     46             '../dm/DMTestTask.cpp',
     47             '../dm/DMUtil.cpp',
     48             '../dm/DMWriteTask.cpp',
     49             '../gm/gm.cpp',
     50             '../gm/gm_expectations.cpp',
     51 
     52             '../src/pipe/utils/SamplePipeControllers.cpp',
     53             '../src/utils/debugger/SkDebugCanvas.cpp',
     54             '../src/utils/debugger/SkDrawCommand.cpp',
     55             '../src/utils/debugger/SkObjectParser.cpp',
     56         ],
     57         'dependencies': [
     58             'etc1.gyp:libetc1',
     59             'flags.gyp:flags',
     60             'gputest.gyp:skgputest',
     61             'jsoncpp.gyp:jsoncpp',
     62             'skia_lib.gyp:skia_lib',
     63             'tools.gyp:crash_handler',
     64         ],
     65         'conditions': [
     66           ['skia_android_framework', {
     67               'libraries': [ '-lskia' ],
     68           }],
     69           ['skia_poppler_enabled', {
     70               'sources':      [ '../src/utils/SkPDFRasterizer.cpp' ],
     71               'defines':      [ 'SK_BUILD_POPPLER' ],
     72               'dependencies': [ 'poppler.gyp:*' ],
     73           }],
     74         ],
     75     }]
     76 }
     77