1 # GYP file to build pathops unit tests. 2 { 3 'includes': [ 4 'apptype_console.gypi', 5 ], 6 'targets': [ 7 { 8 'target_name': 'pathops_unittest', 9 'type': 'executable', 10 'includes': [ 11 'pathops_unittest.gypi', 12 ], 13 'dependencies': [ 14 'flags.gyp:flags_common', 15 'tools.gyp:crash_handler', 16 ], 17 'sources': [ 18 '../tests/PathOpsAngleIdeas.cpp', 19 '../tests/PathOpsBattles.cpp', 20 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', 21 '../tests/PathOpsDebug.cpp', 22 '../tests/PathOpsOpLoopThreadedTest.cpp', 23 '../tests/skia_test.cpp', 24 '../src/utils/SkTaskGroup.cpp', 25 ], 26 'conditions': [ 27 [ 'skia_android_framework == 1', { 28 'libraries': [ 29 '-lskia', 30 ], 31 'libraries!': [ 32 '-lz', 33 '-llog', 34 ], 35 }], 36 [ 'skia_gpu == 1', { 37 'include_dirs': [ 38 '../src/gpu', 39 ], 40 }], 41 ], 42 }, 43 ], 44 } 45