skia2/gyp/tools.gyp
epoger@google.com aa3b6a965e Make all gyp targets automatically include common.gypi
Do this, rather than including common.gypi explicitly in all our gyp files, so that gyp files we use but do not maintain (e.g., third_party/externals/libjpeg/libjpeg.gyp) will include common.gypi too.
Review URL: https://codereview.appspot.com/5820068

git-svn-id: http://skia.googlecode.com/svn/trunk@3411 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-16 13:52:49 +00:00

73 lines
1.5 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',
],
},
{
'target_name': 'skdiff',
'type': 'executable',
'sources': [
'../src/effects/SkEffects_none.cpp',
'../tools/skdiff_main.cpp',
],
'dependencies': [
'core.gyp:core',
'images.gyp:images',
'ports.gyp:ports',
'utils.gyp:utils',
],
},
{
'target_name': 'skhello',
'type': 'executable',
'sources': [
'../src/effects/SkEffects_none.cpp',
'../tools/skhello.cpp',
],
'dependencies': [
'core.gyp:core',
'images.gyp:images',
'ports.gyp:ports',
'utils.gyp:utils',
],
},
{
'target_name': 'skimage',
'type': 'executable',
'sources': [
'../src/effects/SkEffects_none.cpp',
'../tools/skimage_main.cpp',
],
'dependencies': [
'core.gyp:core',
'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: