2013-04-08 11:50:46 +00:00
|
|
|
# GYP file to build unit tests.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'pathops_unittest',
|
|
|
|
'type': 'executable',
|
2013-04-11 12:33:23 +00:00
|
|
|
'suppress_wildcard': '1',
|
2013-04-08 11:50:46 +00:00
|
|
|
'include_dirs' : [
|
|
|
|
'../src/core',
|
|
|
|
'../src/effects',
|
|
|
|
'../src/lazy',
|
2013-04-25 14:28:14 +00:00
|
|
|
'../src/pathops',
|
2013-04-08 11:50:46 +00:00
|
|
|
'../src/pdf',
|
|
|
|
'../src/pipe/utils',
|
|
|
|
'../src/utils',
|
|
|
|
'../tools/',
|
|
|
|
],
|
2013-04-12 11:59:41 +00:00
|
|
|
'includes': [
|
|
|
|
'pathops_unittest.gypi',
|
|
|
|
],
|
2013-04-08 11:50:46 +00:00
|
|
|
'sources': [
|
2014-04-14 17:08:59 +00:00
|
|
|
'../tests/PathOpsAngleIdeas.cpp',
|
2014-05-07 15:31:40 +00:00
|
|
|
'../tests/PathOpsCubicLineIntersectionIdeas.cpp',
|
2014-04-14 17:08:59 +00:00
|
|
|
'../tests/PathOpsDebug.cpp',
|
2014-04-25 12:59:11 +00:00
|
|
|
'../tests/PathOpsOpLoopThreadedTest.cpp',
|
2013-10-02 14:49:34 +00:00
|
|
|
'../tests/PathOpsSkpClipTest.cpp',
|
2013-04-08 11:50:46 +00:00
|
|
|
'../tests/Test.cpp',
|
|
|
|
'../tests/skia_test.cpp',
|
|
|
|
'../tests/Test.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-06-03 12:10:19 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-04-11 20:11:40 +00:00
|
|
|
'flags.gyp:flags',
|
2013-04-08 11:50:46 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_gpu == 1', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../src/gpu',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|