2011-06-02 14:38:23 +00:00
|
|
|
# GYP file to build unit tests.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'tests',
|
|
|
|
'type': 'executable',
|
2013-04-19 11:45:56 +00:00
|
|
|
'includes': [
|
|
|
|
'pathops_unittest.gypi',
|
2014-02-26 16:31:22 +00:00
|
|
|
'tests.gypi',
|
2013-04-19 11:45:56 +00:00
|
|
|
],
|
2011-06-02 14:38:23 +00:00
|
|
|
'sources': [
|
2014-01-30 22:51:42 +00:00
|
|
|
'../tests/skia_test.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
],
|
2012-08-02 14:03:32 +00:00
|
|
|
'conditions': [
|
2014-04-28 16:00:30 +00:00
|
|
|
[ 'skia_android_framework == 1', {
|
|
|
|
'libraries': [
|
|
|
|
'-lskia',
|
|
|
|
'-lcutils',
|
|
|
|
],
|
|
|
|
'libraries!': [
|
|
|
|
'-lz',
|
|
|
|
'-llog',
|
|
|
|
],
|
|
|
|
}],
|
2012-08-02 14:03:32 +00:00
|
|
|
[ 'skia_gpu == 1', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../src/gpu',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2011-06-02 14:38:23 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|