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/PathOpsSkpClipTest.cpp', 26 '../tests/Test.cpp', 27 '../tests/skia_test.cpp', 28 '../tests/Test.h', 29 ], 30 'dependencies': [ 31 'skia_lib.gyp:skia_lib', 32 'flags.gyp:flags', 33 ], 34 'conditions': [ 35 [ 'skia_gpu == 1', { 36 'include_dirs': [ 37 '../src/gpu', 38 ], 39 }], 40 ], 41 }, 42 ], 43 } 44