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