2011-05-31 13:50:51 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'utils',
|
|
|
|
'type': 'static_library',
|
2012-03-29 14:28:59 +00:00
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:core',
|
|
|
|
'ports.gyp:ports',
|
|
|
|
],
|
2011-05-31 13:50:51 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../include/utils',
|
2011-06-02 19:52:14 +00:00
|
|
|
'../include/utils/mac',
|
2011-06-01 20:55:45 +00:00
|
|
|
'../include/utils/unix',
|
2011-06-23 21:43:52 +00:00
|
|
|
'../include/utils/win',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../include/utils/SkBoundaryPatch.h',
|
|
|
|
'../include/utils/SkCamera.h',
|
|
|
|
'../include/utils/SkCubicInterval.h',
|
|
|
|
'../include/utils/SkCullPoints.h',
|
2012-01-18 16:21:08 +00:00
|
|
|
'../include/utils/SkDeferredCanvas.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../include/utils/SkDumpCanvas.h',
|
|
|
|
'../include/utils/SkInterpolator.h',
|
|
|
|
'../include/utils/SkLayer.h',
|
2011-06-13 14:58:44 +00:00
|
|
|
'../include/utils/SkMatrix44.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../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/SkUnitMappers.h',
|
2011-12-01 16:34:28 +00:00
|
|
|
'../include/utils/SkWGL.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
|
2012-02-07 20:47:38 +00:00
|
|
|
'../src/utils/SkBase64.cpp',
|
|
|
|
'../src/utils/SkBase64.h',
|
2012-03-21 23:11:46 +00:00
|
|
|
'../src/utils/SkBitSet.cpp',
|
|
|
|
'../src/utils/SkBitSet.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../src/utils/SkBoundaryPatch.cpp',
|
|
|
|
'../src/utils/SkCamera.cpp',
|
|
|
|
'../src/utils/SkCubicInterval.cpp',
|
|
|
|
'../src/utils/SkCullPoints.cpp',
|
2012-01-18 16:21:08 +00:00
|
|
|
'../src/utils/SkDeferredCanvas.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../src/utils/SkDumpCanvas.cpp',
|
|
|
|
'../src/utils/SkInterpolator.cpp',
|
|
|
|
'../src/utils/SkLayer.cpp',
|
2011-06-13 14:58:44 +00:00
|
|
|
'../src/utils/SkMatrix44.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../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-23 21:43:52 +00:00
|
|
|
#mac
|
2011-06-01 16:15:43 +00:00
|
|
|
'../include/utils/mac/SkCGUtils.h',
|
|
|
|
'../src/utils/mac/SkCreateCGImageRef.cpp',
|
|
|
|
|
2011-06-23 21:43:52 +00:00
|
|
|
#windows
|
|
|
|
'../include/utils/win/SkAutoCoInitialize.h',
|
2011-10-10 13:19:10 +00:00
|
|
|
'../include/utils/win/SkHRESULT.h',
|
2011-06-23 21:43:52 +00:00
|
|
|
'../include/utils/win/SkIStream.h',
|
|
|
|
'../include/utils/win/SkTScopedComPtr.h',
|
|
|
|
'../src/utils/win/SkAutoCoInitialize.cpp',
|
2011-10-10 13:19:10 +00:00
|
|
|
'../src/utils/win/SkHRESULT.cpp',
|
2011-06-23 21:43:52 +00:00
|
|
|
'../src/utils/win/SkIStream.cpp',
|
2011-12-01 16:34:28 +00:00
|
|
|
'../src/utils/win/SkWGL_win.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources!': [
|
2011-06-01 16:15:43 +00:00
|
|
|
'../src/utils/SDL/SkOSWindow_SDL.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os == "mac"', {
|
2011-06-23 21:43:52 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/AGL.framework',
|
|
|
|
],
|
|
|
|
},
|
2011-06-24 13:58:17 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/utils/mac',
|
|
|
|
],
|
|
|
|
},
|
2011-07-01 20:20:07 +00:00
|
|
|
},{ #else if 'skia_os != "mac"'
|
2011-06-23 21:43:52 +00:00
|
|
|
'include_dirs!': [
|
|
|
|
'../include/utils/mac',
|
|
|
|
],
|
2011-06-01 16:15:43 +00:00
|
|
|
'sources!': [
|
|
|
|
'../include/utils/mac/SkCGUtils.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../src/utils/mac/SkCreateCGImageRef.cpp',
|
|
|
|
],
|
|
|
|
}],
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
|
2011-06-03 17:52:12 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2011-06-23 21:43:52 +00:00
|
|
|
'-lGL',
|
|
|
|
'-lGLU',
|
2011-06-03 17:52:12 +00:00
|
|
|
],
|
|
|
|
},
|
2011-07-01 20:20:07 +00:00
|
|
|
},{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]'
|
2011-06-23 21:43:52 +00:00
|
|
|
'include_dirs!': [
|
|
|
|
'../include/utils/unix',
|
|
|
|
],
|
2011-06-01 16:15:43 +00:00
|
|
|
}],
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os == "win"', {
|
2011-06-23 21:43:52 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/utils/win',
|
2011-06-03 17:21:21 +00:00
|
|
|
],
|
|
|
|
},
|
2011-07-01 20:20:07 +00:00
|
|
|
},{ #else if 'skia_os != "win"'
|
2011-06-23 21:43:52 +00:00
|
|
|
'include_dirs!': [
|
|
|
|
'../include/utils/win',
|
|
|
|
],
|
2011-12-01 16:34:28 +00:00
|
|
|
'sources/': [ ['exclude', '_win.(h|cpp)$'],],
|
2011-06-01 16:15:43 +00:00
|
|
|
'sources!': [
|
2011-06-23 21:43:52 +00:00
|
|
|
'../include/utils/win/SkAutoCoInitialize.h',
|
2011-10-10 13:19:10 +00:00
|
|
|
'../include/utils/win/SkHRESULT.h',
|
2011-06-23 21:43:52 +00:00
|
|
|
'../include/utils/win/SkIStream.h',
|
|
|
|
'../include/utils/win/SkTScopedComPtr.h',
|
|
|
|
'../src/utils/win/SkAutoCoInitialize.cpp',
|
2011-10-10 13:19:10 +00:00
|
|
|
'../src/utils/win/SkHRESULT.cpp',
|
2011-06-23 21:43:52 +00:00
|
|
|
'../src/utils/win/SkIStream.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:
|