blob: 190b4f3816a1f282fc95f7bd5f804509a0449e3f [file] [log] [blame]
caryclarka8d2ffb2014-06-24 07:55:11 -07001# GYP file to build pathops unit tests.
caryclark@google.com818b0cc2013-04-08 11:50:46 +00002{
3 'includes': [
4 'apptype_console.gypi',
5 ],
6 'targets': [
7 {
8 'target_name': 'pathops_unittest',
9 'type': 'executable',
caryclark@google.com7abfa492013-04-12 11:59:41 +000010 'includes': [
caryclark@google.com7abfa492013-04-12 11:59:41 +000011 'pathops_unittest.gypi',
12 ],
caryclarka8d2ffb2014-06-24 07:55:11 -070013 'dependencies': [ 'tools.gyp:crash_handler' ],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000014 'sources': [
commit-bot@chromium.org4431e772014-04-14 17:08:59 +000015 '../tests/PathOpsAngleIdeas.cpp',
commit-bot@chromium.org2db7fe72014-05-07 15:31:40 +000016 '../tests/PathOpsCubicLineIntersectionIdeas.cpp',
commit-bot@chromium.org4431e772014-04-14 17:08:59 +000017 '../tests/PathOpsDebug.cpp',
commit-bot@chromium.org8cb1daa2014-04-25 12:59:11 +000018 '../tests/PathOpsOpLoopThreadedTest.cpp',
caryclark@google.com7eaa53d2013-10-02 14:49:34 +000019 '../tests/PathOpsSkpClipTest.cpp',
tfarina1c4d5782014-06-22 16:13:00 -070020 '../tests/skia_test.cpp',
caryclark@google.com818b0cc2013-04-08 11:50:46 +000021 ],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000022 'conditions': [
caryclarka8d2ffb2014-06-24 07:55:11 -070023 [ 'skia_android_framework == 1', {
24 'libraries': [
25 '-lskia',
26 ],
27 'libraries!': [
28 '-lz',
29 '-llog',
30 ],
31 }],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000032 [ 'skia_gpu == 1', {
33 'include_dirs': [
34 '../src/gpu',
35 ],
36 }],
37 ],
38 },
39 ],
40}