-# GYP file to build unit tests.
+# GYP file to build pathops unit tests.
{
'includes': [
'apptype_console.gypi',
{
'target_name': 'pathops_unittest',
'type': 'executable',
- 'suppress_wildcard': '1',
- 'include_dirs' : [
- '../src/core',
- '../src/effects',
- '../src/lazy',
- '../src/pathops',
- '../src/pdf',
- '../src/pipe/utils',
- '../src/utils',
- '../tools/',
- ],
'includes': [
'pathops_unittest.gypi',
],
+ 'dependencies': [
+ 'flags.gyp:flags_common',
+ 'tools.gyp:crash_handler',
+ ],
'sources': [
'../tests/PathOpsAngleIdeas.cpp',
'../tests/PathOpsCubicLineIntersectionIdeas.cpp',
'../tests/PathOpsDebug.cpp',
'../tests/PathOpsOpLoopThreadedTest.cpp',
- '../tests/PathOpsSkpClipTest.cpp',
- '../tests/Test.cpp',
'../tests/skia_test.cpp',
- '../tests/Test.h',
- ],
- 'dependencies': [
- 'skia_lib.gyp:skia_lib',
- 'flags.gyp:flags',
],
'conditions': [
+ [ 'skia_android_framework == 1', {
+ 'libraries': [
+ '-lskia',
+ ],
+ 'libraries!': [
+ '-lz',
+ '-llog',
+ ],
+ }],
[ 'skia_gpu == 1', {
'include_dirs': [
'../src/gpu',