a31b8bb58d
Review URL: https://codereview.appspot.com/6339043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4310 2bbb7eff-a529-9590-31e7-b0007b416f81
112 lines
2.3 KiB
Python
112 lines
2.3 KiB
Python
# 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',
|
|
'render_pictures',
|
|
'pinspect',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'skdiff',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../tools/skdiff_main.cpp',
|
|
],
|
|
'dependencies': [
|
|
'core.gyp:core',
|
|
'effects.gyp:effects',
|
|
'images.gyp:images',
|
|
'ports.gyp:ports',
|
|
'utils.gyp:utils',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'skhello',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../tools/skhello.cpp',
|
|
],
|
|
'dependencies': [
|
|
'core.gyp:core',
|
|
'effects.gyp:effects',
|
|
'images.gyp:images',
|
|
'ports.gyp:ports',
|
|
'utils.gyp:utils',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'skimage',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../tools/skimage_main.cpp',
|
|
],
|
|
'dependencies': [
|
|
'core.gyp:core',
|
|
'effects.gyp:effects',
|
|
'images.gyp:images',
|
|
'ports.gyp:ports',
|
|
'utils.gyp:utils',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'render_pictures',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../tools/render_pictures_main.cpp',
|
|
],
|
|
'dependencies': [
|
|
'core.gyp:core',
|
|
'images.gyp:images',
|
|
'ports.gyp:ports',
|
|
'tools.gyp:picture_utils',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'picture_utils',
|
|
'type': 'static_library',
|
|
'sources': [
|
|
'../tools/picture_utils.cpp',
|
|
],
|
|
'dependencies': [
|
|
'core.gyp:core',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'pinspect',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../tools/pinspect.cpp',
|
|
],
|
|
'dependencies': [
|
|
'core.gyp:core',
|
|
'effects.gyp:effects',
|
|
'images.gyp:images',
|
|
'ports.gyp:ports',
|
|
'utils.gyp:utils',
|
|
],
|
|
},
|
|
],
|
|
}
|
|
|
|
# Local Variables:
|
|
# tab-width:2
|
|
# indent-tabs-mode:nil
|
|
# End:
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|