blob: e30b433f450eec1854301fdeb3bfce5608e337db [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
epoger@google.comae85aea2011-05-31 13:50:51 +00002 'targets': [
3 {
4 'target_name': 'utils',
5 'type': 'static_library',
6 'include_dirs': [
7 '../include/config',
8 '../include/core',
9 '../include/utils',
epoger@google.com0a030cd2011-06-02 19:52:14 +000010 '../include/utils/mac',
senorblanco@chromium.org907afca2011-06-01 20:55:45 +000011 '../include/utils/unix',
bungeman@google.com9df621d2011-06-23 21:43:52 +000012 '../include/utils/win',
epoger@google.comae85aea2011-05-31 13:50:51 +000013 '../include/effects',
14 '../include/xml',
15 ],
16 'sources': [
17 '../include/utils/SkBoundaryPatch.h',
18 '../include/utils/SkCamera.h',
19 '../include/utils/SkCubicInterval.h',
20 '../include/utils/SkCullPoints.h',
junov@google.com4370aed2012-01-18 16:21:08 +000021 '../include/utils/SkDeferredCanvas.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000022 '../include/utils/SkDumpCanvas.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000023 '../include/utils/SkInterpolator.h',
24 '../include/utils/SkLayer.h',
reed@google.comc8cc60c2011-06-13 14:58:44 +000025 '../include/utils/SkMatrix44.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000026 '../include/utils/SkMeshUtils.h',
27 '../include/utils/SkNinePatch.h',
28 '../include/utils/SkNWayCanvas.h',
29 '../include/utils/SkParse.h',
30 '../include/utils/SkParsePaint.h',
31 '../include/utils/SkParsePath.h',
32 '../include/utils/SkProxyCanvas.h',
33 '../include/utils/SkSfntUtils.h',
34 '../include/utils/SkTextBox.h',
35 '../include/utils/SkUnitMappers.h',
bsalomon@google.combd7c6412011-12-01 16:34:28 +000036 '../include/utils/SkWGL.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000037
bungeman@google.comaf5bbf22012-02-07 20:47:38 +000038 '../src/utils/SkBase64.cpp',
39 '../src/utils/SkBase64.h',
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000040 '../src/utils/SkBitSet.cpp',
41 '../src/utils/SkBitSet.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000042 '../src/utils/SkBoundaryPatch.cpp',
43 '../src/utils/SkCamera.cpp',
44 '../src/utils/SkColorMatrix.cpp',
45 '../src/utils/SkCubicInterval.cpp',
46 '../src/utils/SkCullPoints.cpp',
junov@google.com4370aed2012-01-18 16:21:08 +000047 '../src/utils/SkDeferredCanvas.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000048 '../src/utils/SkDumpCanvas.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000049 '../src/utils/SkInterpolator.cpp',
50 '../src/utils/SkLayer.cpp',
reed@google.comc8cc60c2011-06-13 14:58:44 +000051 '../src/utils/SkMatrix44.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000052 '../src/utils/SkMeshUtils.cpp',
53 '../src/utils/SkNinePatch.cpp',
54 '../src/utils/SkNWayCanvas.cpp',
55 '../src/utils/SkOSFile.cpp',
56 '../src/utils/SkParse.cpp',
57 '../src/utils/SkParseColor.cpp',
58 '../src/utils/SkParsePath.cpp',
59 '../src/utils/SkProxyCanvas.cpp',
60 '../src/utils/SkSfntUtils.cpp',
61 '../src/utils/SkUnitMappers.cpp',
62
bungeman@google.com9df621d2011-06-23 21:43:52 +000063 #mac
bungeman@google.com63aab2f2011-06-01 16:15:43 +000064 '../include/utils/mac/SkCGUtils.h',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000065 '../src/utils/mac/SkCreateCGImageRef.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000066
bungeman@google.com9df621d2011-06-23 21:43:52 +000067 #windows
68 '../include/utils/win/SkAutoCoInitialize.h',
bungeman@google.comb29c8832011-10-10 13:19:10 +000069 '../include/utils/win/SkHRESULT.h',
bungeman@google.com9df621d2011-06-23 21:43:52 +000070 '../include/utils/win/SkIStream.h',
71 '../include/utils/win/SkTScopedComPtr.h',
72 '../src/utils/win/SkAutoCoInitialize.cpp',
bungeman@google.comb29c8832011-10-10 13:19:10 +000073 '../src/utils/win/SkHRESULT.cpp',
bungeman@google.com9df621d2011-06-23 21:43:52 +000074 '../src/utils/win/SkIStream.cpp',
bsalomon@google.combd7c6412011-12-01 16:34:28 +000075 '../src/utils/win/SkWGL_win.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000076 ],
77 'sources!': [
bungeman@google.com63aab2f2011-06-01 16:15:43 +000078 '../src/utils/SDL/SkOSWindow_SDL.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000079 ],
80 'conditions': [
epoger@google.com8846cb22011-07-01 20:20:07 +000081 [ 'skia_os == "mac"', {
epoger@google.comc39f1752011-06-03 17:52:12 +000082 'link_settings': {
83 'libraries': [
84 '$(SDKROOT)/System/Library/Frameworks/AGL.framework',
85 ],
86 },
bungeman@google.comfe5afe52011-06-24 13:58:17 +000087 'direct_dependent_settings': {
88 'include_dirs': [
89 '../include/utils/mac',
90 ],
91 },
epoger@google.com8846cb22011-07-01 20:20:07 +000092 },{ #else if 'skia_os != "mac"'
senorblanco@chromium.org907afca2011-06-01 20:55:45 +000093 'include_dirs!': [
bungeman@google.com9df621d2011-06-23 21:43:52 +000094 '../include/utils/mac',
95 ],
96 'sources!': [
97 '../include/utils/mac/SkCGUtils.h',
98 '../src/utils/mac/SkCreateCGImageRef.cpp',
senorblanco@chromium.org907afca2011-06-01 20:55:45 +000099 ],
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000100 }],
epoger@google.com8846cb22011-07-01 20:20:07 +0000101 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
epoger@google.com161933b2011-06-03 17:21:21 +0000102 'link_settings': {
103 'libraries': [
104 '-lGL',
105 '-lGLU',
106 ],
107 },
epoger@google.com8846cb22011-07-01 20:20:07 +0000108 },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]'
bungeman@google.com9df621d2011-06-23 21:43:52 +0000109 'include_dirs!': [
110 '../include/utils/unix',
111 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000112 }],
epoger@google.com8846cb22011-07-01 20:20:07 +0000113 [ 'skia_os == "win"', {
bungeman@google.com9df621d2011-06-23 21:43:52 +0000114 'direct_dependent_settings': {
115 'include_dirs': [
116 '../include/utils/win',
117 ],
118 },
epoger@google.com8846cb22011-07-01 20:20:07 +0000119 },{ #else if 'skia_os != "win"'
bungeman@google.com9df621d2011-06-23 21:43:52 +0000120 'include_dirs!': [
121 '../include/utils/win',
122 ],
bsalomon@google.combd7c6412011-12-01 16:34:28 +0000123 'sources/': [ ['exclude', '_win.(h|cpp)$'],],
bungeman@google.com9df621d2011-06-23 21:43:52 +0000124 'sources!': [
125 '../include/utils/win/SkAutoCoInitialize.h',
bungeman@google.comb29c8832011-10-10 13:19:10 +0000126 '../include/utils/win/SkHRESULT.h',
bungeman@google.com9df621d2011-06-23 21:43:52 +0000127 '../include/utils/win/SkIStream.h',
128 '../include/utils/win/SkTScopedComPtr.h',
129 '../src/utils/win/SkAutoCoInitialize.cpp',
bungeman@google.comb29c8832011-10-10 13:19:10 +0000130 '../src/utils/win/SkHRESULT.cpp',
bungeman@google.com9df621d2011-06-23 21:43:52 +0000131 '../src/utils/win/SkIStream.cpp',
bungeman@google.com9df621d2011-06-23 21:43:52 +0000132 ],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000133 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000134 ],
135 'direct_dependent_settings': {
136 'include_dirs': [
137 '../include/utils',
138 ],
139 },
140 },
141 ],
142}
143
144# Local Variables:
145# tab-width:2
146# indent-tabs-mode:nil
147# End:
148# vim: set expandtab tabstop=2 shiftwidth=2: