2011-05-31 13:50:51 +00:00
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'target_defaults.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'utils',
|
|
|
|
'type': 'static_library',
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/config',
|
|
|
|
'../include/core',
|
|
|
|
'../include/utils',
|
2011-06-01 20:55:45 +00:00
|
|
|
'../include/utils/unix',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../include/views',
|
|
|
|
'../include/effects',
|
|
|
|
'../include/xml',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../include/utils/SkBoundaryPatch.h',
|
|
|
|
'../include/utils/SkCamera.h',
|
|
|
|
'../include/utils/SkCubicInterval.h',
|
|
|
|
'../include/utils/SkCullPoints.h',
|
|
|
|
'../include/utils/SkDumpCanvas.h',
|
|
|
|
'../include/utils/SkEGLContext.h',
|
|
|
|
'../include/utils/SkGLCanvas.h',
|
|
|
|
'../include/utils/SkInterpolator.h',
|
|
|
|
'../include/utils/SkLayer.h',
|
|
|
|
'../include/utils/SkMeshUtils.h',
|
|
|
|
'../include/utils/SkNinePatch.h',
|
|
|
|
'../include/utils/SkNWayCanvas.h',
|
|
|
|
'../include/utils/SkParse.h',
|
|
|
|
'../include/utils/SkParsePaint.h',
|
|
|
|
'../include/utils/SkParsePath.h',
|
|
|
|
'../include/utils/SkProxyCanvas.h',
|
|
|
|
'../include/utils/SkSfntUtils.h',
|
|
|
|
'../include/utils/SkTextBox.h',
|
|
|
|
'../include/utils/SkUnitMappers.h',
|
|
|
|
|
|
|
|
'../src/utils/SkBoundaryPatch.cpp',
|
|
|
|
'../src/utils/SkCamera.cpp',
|
|
|
|
'../src/utils/SkColorMatrix.cpp',
|
|
|
|
'../src/utils/SkCubicInterval.cpp',
|
|
|
|
'../src/utils/SkCullPoints.cpp',
|
|
|
|
'../src/utils/SkDumpCanvas.cpp',
|
|
|
|
'../src/utils/SkEGLContext_none.cpp',
|
|
|
|
'../src/utils/SkInterpolator.cpp',
|
|
|
|
'../src/utils/SkLayer.cpp',
|
|
|
|
'../src/utils/SkMeshUtils.cpp',
|
|
|
|
'../src/utils/SkNinePatch.cpp',
|
|
|
|
'../src/utils/SkNWayCanvas.cpp',
|
|
|
|
'../src/utils/SkOSFile.cpp',
|
|
|
|
'../src/utils/SkParse.cpp',
|
|
|
|
'../src/utils/SkParseColor.cpp',
|
|
|
|
'../src/utils/SkParsePath.cpp',
|
|
|
|
'../src/utils/SkProxyCanvas.cpp',
|
|
|
|
'../src/utils/SkSfntUtils.cpp',
|
|
|
|
'../src/utils/SkUnitMappers.cpp',
|
|
|
|
|
2011-06-01 16:15:43 +00:00
|
|
|
'../include/utils/mac/SkCGUtils.h',
|
|
|
|
'../src/utils/mac/SkBitmap_Mac.cpp',
|
|
|
|
'../src/utils/mac/SkCreateCGImageRef.cpp',
|
|
|
|
'../src/utils/mac/SkEGLContext_mac.cpp',
|
|
|
|
'../src/utils/mac/skia_mac.cpp',
|
|
|
|
'../src/utils/mac/SkOSWindow_Mac.cpp',
|
|
|
|
|
|
|
|
'../src/utils/mesa/SkEGLContext_Mesa.cpp',
|
|
|
|
|
|
|
|
'../src/utils/SDL/SkOSWindow_SDL.cpp',
|
|
|
|
|
|
|
|
'../src/utils/unix/keysym2ucs.c',
|
|
|
|
'../src/utils/unix/SkEGLContext_Unix.cpp',
|
|
|
|
'../src/utils/unix/SkOSWindow_Unix.cpp',
|
|
|
|
|
|
|
|
'../src/utils/win/skia_win.cpp',
|
|
|
|
'../src/utils/win/SkOSWindow_Win.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources!': [
|
2011-06-01 16:15:43 +00:00
|
|
|
'../src/utils/mesa/SkEGLContext_Mesa.cpp',
|
|
|
|
'../src/utils/SDL/SkOSWindow_SDL.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
2011-06-01 16:15:43 +00:00
|
|
|
[ 'OS != "mac"', {
|
|
|
|
'sources!': [
|
|
|
|
'../include/utils/mac/SkCGUtils.h',
|
|
|
|
'../src/utils/mac/SkBitmap_Mac.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../src/utils/mac/SkCreateCGImageRef.cpp',
|
|
|
|
'../src/utils/mac/SkEGLContext_mac.cpp',
|
2011-06-01 16:15:43 +00:00
|
|
|
'../src/utils/mac/skia_mac.cpp',
|
|
|
|
'../src/utils/mac/SkOSWindow_Mac.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
}],
|
2011-06-01 16:15:43 +00:00
|
|
|
[ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
|
|
|
|
'sources!': [
|
|
|
|
'../src/utils/unix/keysym2ucs.c',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../src/utils/unix/SkEGLContext_Unix.cpp',
|
2011-06-01 16:15:43 +00:00
|
|
|
'../src/utils/unix/SkOSWindow_Unix.cpp',
|
|
|
|
],
|
2011-06-01 20:55:45 +00:00
|
|
|
'include_dirs!': [
|
|
|
|
'../include/utils/unix',
|
|
|
|
],
|
2011-06-01 16:15:43 +00:00
|
|
|
}],
|
|
|
|
[ 'OS != "win"', {
|
|
|
|
'sources!': [
|
|
|
|
'../src/utils/win/skia_win.cpp',
|
|
|
|
'../src/utils/win/SkOSWindow_Win.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/utils',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|