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/Test.cpp', 26 '../tests/skia_test.cpp', 27 '../tests/Test.h', 28 ], 29 'dependencies': [ 30 'skia_lib.gyp:skia_lib', 31 'flags.gyp:flags', 32 ], 33 'conditions': [ 34 [ 'skia_gpu == 1', { 35 'include_dirs': [ 36 '../src/gpu', 37 ], 38 }], 39 ], 40 }, 41 ], 42 } 43 44 # Local Variables: 45 # tab-width:2 46 # indent-tabs-mode:nil 47 # End: 48 # vim: set expandtab tabstop=2 shiftwidth=2: 49