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