2014-06-24 14:55:11 +00:00
|
|
|
# GYP file to build pathops unit tests.
|
2013-04-08 11:50:46 +00:00
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'pathops_unittest',
|
|
|
|
'type': 'executable',
|
2013-04-12 11:59:41 +00:00
|
|
|
'includes': [
|
|
|
|
'pathops_unittest.gypi',
|
|
|
|
],
|
2014-07-22 17:15:34 +00:00
|
|
|
'dependencies': [
|
|
|
|
'flags.gyp:flags_common',
|
|
|
|
'tools.gyp:crash_handler',
|
|
|
|
],
|
2013-04-08 11:50:46 +00:00
|
|
|
'sources': [
|
2014-04-14 17:08:59 +00:00
|
|
|
'../tests/PathOpsAngleIdeas.cpp',
|
2014-09-18 17:32:57 +00:00
|
|
|
'../tests/PathOpsBattles.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',
|
2014-06-22 23:13:00 +00:00
|
|
|
'../tests/skia_test.cpp',
|
2013-04-08 11:50:46 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
2014-06-24 14:55:11 +00:00
|
|
|
[ 'skia_android_framework == 1', {
|
|
|
|
'libraries': [
|
|
|
|
'-lskia',
|
|
|
|
],
|
|
|
|
'libraries!': [
|
|
|
|
'-lz',
|
|
|
|
'-llog',
|
|
|
|
],
|
|
|
|
}],
|
2013-04-08 11:50:46 +00:00
|
|
|
[ 'skia_gpu == 1', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../src/gpu',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|