blob: c8732545f27398ec7352cfcca70229ba38554c29 [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 ],
caryclark17f0b6d2014-07-22 10:15:34 -070013 'dependencies': [
14 'flags.gyp:flags_common',
15 'tools.gyp:crash_handler',
16 ],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000017 'sources': [
commit-bot@chromium.org4431e772014-04-14 17:08:59 +000018 '../tests/PathOpsAngleIdeas.cpp',
caryclark65b427c2014-09-18 10:32:57 -070019 '../tests/PathOpsBattles.cpp',
commit-bot@chromium.org2db7fe72014-05-07 15:31:40 +000020 '../tests/PathOpsCubicLineIntersectionIdeas.cpp',
commit-bot@chromium.org4431e772014-04-14 17:08:59 +000021 '../tests/PathOpsDebug.cpp',
commit-bot@chromium.org8cb1daa2014-04-25 12:59:11 +000022 '../tests/PathOpsOpLoopThreadedTest.cpp',
tfarina1c4d5782014-06-22 16:13:00 -070023 '../tests/skia_test.cpp',
caryclark@google.com818b0cc2013-04-08 11:50:46 +000024 ],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000025 'conditions': [
caryclarka8d2ffb2014-06-24 07:55:11 -070026 [ 'skia_android_framework == 1', {
27 'libraries': [
28 '-lskia',
29 ],
30 'libraries!': [
31 '-lz',
32 '-llog',
33 ],
34 }],
caryclark@google.com818b0cc2013-04-08 11:50:46 +000035 [ 'skia_gpu == 1', {
36 'include_dirs': [
37 '../src/gpu',
38 ],
39 }],
40 ],
41 },
42 ],
43}