2011-06-02 14:38:23 +00:00
|
|
|
# GYP file to build various tools.
|
|
|
|
#
|
|
|
|
# To build on Linux:
|
|
|
|
# ./gyp_skia tools.gyp && make tools
|
|
|
|
#
|
|
|
|
# Building on other platforms not tested yet.
|
|
|
|
#
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
# Build all executable targets defined below.
|
|
|
|
'target_name': 'tools',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'skdiff',
|
|
|
|
'skhello',
|
|
|
|
'skimage',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'skdiff',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
2011-12-15 14:16:43 +00:00
|
|
|
'../src/effects/SkEffects_none.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tools/skdiff_main.cpp',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:core',
|
|
|
|
'images.gyp:images',
|
2011-12-14 17:12:04 +00:00
|
|
|
'ports.gyp:ports',
|
2011-06-02 14:38:23 +00:00
|
|
|
'utils.gyp:utils',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'skhello',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
2011-12-15 14:16:43 +00:00
|
|
|
'../src/effects/SkEffects_none.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tools/skhello.cpp',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:core',
|
|
|
|
'images.gyp:images',
|
2011-12-14 17:12:04 +00:00
|
|
|
'ports.gyp:ports',
|
2011-06-02 14:38:23 +00:00
|
|
|
'utils.gyp:utils',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'skimage',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
2011-12-15 14:16:43 +00:00
|
|
|
'../src/effects/SkEffects_none.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tools/skimage_main.cpp',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:core',
|
|
|
|
'images.gyp:images',
|
2011-12-14 17:12:04 +00:00
|
|
|
'ports.gyp:ports',
|
2011-06-02 14:38:23 +00:00
|
|
|
'utils.gyp:utils',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|