pathops_unittest.gyp 1.06 KB
Newer Older
1 2 3 4 5 6 7 8 9
# GYP file to build unit tests.
{
  'includes': [
    'apptype_console.gypi',
  ],
  'targets': [
    {
      'target_name': 'pathops_unittest',
      'type': 'executable',
caryclark@google.com's avatar
caryclark@google.com committed
10
      'suppress_wildcard': '1',
11 12 13 14
      'include_dirs' : [
        '../src/core',
        '../src/effects',
        '../src/lazy',
15
        '../src/pathops',
16 17 18 19 20
        '../src/pdf',
        '../src/pipe/utils',
        '../src/utils',
        '../tools/',
      ],
21 22 23
      'includes': [
        'pathops_unittest.gypi',
      ],
24
      'sources': [
25
        '../tests/PathOpsAngleIdeas.cpp',
26
        '../tests/PathOpsCubicLineIntersectionIdeas.cpp',
27
        '../tests/PathOpsDebug.cpp',
28
        '../tests/PathOpsOpLoopThreadedTest.cpp',
29
        '../tests/PathOpsSkpClipTest.cpp',
30 31 32 33 34
        '../tests/Test.cpp',
        '../tests/skia_test.cpp',
        '../tests/Test.h',
      ],
      'dependencies': [
35
        'skia_lib.gyp:skia_lib',
36
        'flags.gyp:flags',
37 38 39 40 41 42 43 44 45 46 47
      ],
      'conditions': [
        [ 'skia_gpu == 1', {
          'include_dirs': [
            '../src/gpu',
          ],
        }],
      ],
    },
  ],
}