blob: 2fca63fbfe547112d5829d353c17bb76502093d5 [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': [
bungeman@google.com5a64e582012-03-29 14:51:56 +00007 '../include/config',
8 '../include/core',
epoger@google.comae85aea2011-05-31 13:50:51 +00009 '../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',
bungeman@google.com5a64e582012-03-29 14:51:56 +000013 '../include/effects',
14 '../include/xml',
epoger@google.comae85aea2011-05-31 13:50:51 +000015 ],
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',
epoger@google.comae85aea2011-05-31 13:50:51 +000034 '../include/utils/SkUnitMappers.h',
bsalomon@google.combd7c6412011-12-01 16:34:28 +000035 '../include/utils/SkWGL.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000036
bungeman@google.comaf5bbf22012-02-07 20:47:38 +000037 '../src/utils/SkBase64.cpp',
38 '../src/utils/SkBase64.h',
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000039 '../src/utils/SkBitSet.cpp',
40 '../src/utils/SkBitSet.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000041 '../src/utils/SkBoundaryPatch.cpp',
42 '../src/utils/SkCamera.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000043 '../src/utils/SkCubicInterval.cpp',
44 '../src/utils/SkCullPoints.cpp',
junov@google.com4370aed2012-01-18 16:21:08 +000045 '../src/utils/SkDeferredCanvas.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000046 '../src/utils/SkDumpCanvas.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000047 '../src/utils/SkInterpolator.cpp',
48 '../src/utils/SkLayer.cpp',
reed@google.comc8cc60c2011-06-13 14:58:44 +000049 '../src/utils/SkMatrix44.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000050 '../src/utils/SkMeshUtils.cpp',
51 '../src/utils/SkNinePatch.cpp',
52 '../src/utils/SkNWayCanvas.cpp',
53 '../src/utils/SkOSFile.cpp',
54 '../src/utils/SkParse.cpp',
55 '../src/utils/SkParseColor.cpp',
56 '../src/utils/SkParsePath.cpp',
57 '../src/utils/SkProxyCanvas.cpp',
58 '../src/utils/SkSfntUtils.cpp',
59 '../src/utils/SkUnitMappers.cpp',
60
bungeman@google.com9df621d2011-06-23 21:43:52 +000061 #mac
bungeman@google.com63aab2f2011-06-01 16:15:43 +000062 '../include/utils/mac/SkCGUtils.h',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000063 '../src/utils/mac/SkCreateCGImageRef.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000064
bungeman@google.com9df621d2011-06-23 21:43:52 +000065 #windows
66 '../include/utils/win/SkAutoCoInitialize.h',
bungeman@google.comb29c8832011-10-10 13:19:10 +000067 '../include/utils/win/SkHRESULT.h',
bungeman@google.com9df621d2011-06-23 21:43:52 +000068 '../include/utils/win/SkIStream.h',
69 '../include/utils/win/SkTScopedComPtr.h',
70 '../src/utils/win/SkAutoCoInitialize.cpp',
bungeman@google.comb29c8832011-10-10 13:19:10 +000071 '../src/utils/win/SkHRESULT.cpp',
bungeman@google.com9df621d2011-06-23 21:43:52 +000072 '../src/utils/win/SkIStream.cpp',
bsalomon@google.combd7c6412011-12-01 16:34:28 +000073 '../src/utils/win/SkWGL_win.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000074 ],
75 'sources!': [
bungeman@google.com63aab2f2011-06-01 16:15:43 +000076 '../src/utils/SDL/SkOSWindow_SDL.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000077 ],
78 'conditions': [
epoger@google.com8846cb22011-07-01 20:20:07 +000079 [ 'skia_os == "mac"', {
epoger@google.comc39f1752011-06-03 17:52:12 +000080 'link_settings': {
81 'libraries': [
82 '$(SDKROOT)/System/Library/Frameworks/AGL.framework',
83 ],
84 },
bungeman@google.comfe5afe52011-06-24 13:58:17 +000085 'direct_dependent_settings': {
86 'include_dirs': [
87 '../include/utils/mac',
88 ],
89 },
epoger@google.com8846cb22011-07-01 20:20:07 +000090 },{ #else if 'skia_os != "mac"'
senorblanco@chromium.org907afca2011-06-01 20:55:45 +000091 'include_dirs!': [
bungeman@google.com9df621d2011-06-23 21:43:52 +000092 '../include/utils/mac',
93 ],
94 'sources!': [
95 '../include/utils/mac/SkCGUtils.h',
96 '../src/utils/mac/SkCreateCGImageRef.cpp',
senorblanco@chromium.org907afca2011-06-01 20:55:45 +000097 ],
bungeman@google.com63aab2f2011-06-01 16:15:43 +000098 }],
epoger@google.com8846cb22011-07-01 20:20:07 +000099 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
epoger@google.com161933b2011-06-03 17:21:21 +0000100 'link_settings': {
101 'libraries': [
102 '-lGL',
103 '-lGLU',
104 ],
105 },
epoger@google.com8846cb22011-07-01 20:20:07 +0000106 },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]'
bungeman@google.com9df621d2011-06-23 21:43:52 +0000107 'include_dirs!': [
108 '../include/utils/unix',
109 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000110 }],
epoger@google.com8846cb22011-07-01 20:20:07 +0000111 [ 'skia_os == "win"', {
bungeman@google.com9df621d2011-06-23 21:43:52 +0000112 'direct_dependent_settings': {
113 'include_dirs': [
114 '../include/utils/win',
115 ],
116 },
epoger@google.com8846cb22011-07-01 20:20:07 +0000117 },{ #else if 'skia_os != "win"'
bungeman@google.com9df621d2011-06-23 21:43:52 +0000118 'include_dirs!': [
119 '../include/utils/win',
120 ],
bsalomon@google.combd7c6412011-12-01 16:34:28 +0000121 'sources/': [ ['exclude', '_win.(h|cpp)$'],],
bungeman@google.com9df621d2011-06-23 21:43:52 +0000122 'sources!': [
123 '../include/utils/win/SkAutoCoInitialize.h',
bungeman@google.comb29c8832011-10-10 13:19:10 +0000124 '../include/utils/win/SkHRESULT.h',
bungeman@google.com9df621d2011-06-23 21:43:52 +0000125 '../include/utils/win/SkIStream.h',
126 '../include/utils/win/SkTScopedComPtr.h',
127 '../src/utils/win/SkAutoCoInitialize.cpp',
bungeman@google.comb29c8832011-10-10 13:19:10 +0000128 '../src/utils/win/SkHRESULT.cpp',
bungeman@google.com9df621d2011-06-23 21:43:52 +0000129 '../src/utils/win/SkIStream.cpp',
bungeman@google.com9df621d2011-06-23 21:43:52 +0000130 ],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000131 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000132 ],
133 'direct_dependent_settings': {
134 'include_dirs': [
135 '../include/utils',
136 ],
137 },
138 },
139 ],
140}
141
142# Local Variables:
143# tab-width:2
144# indent-tabs-mode:nil
145# End:
146# vim: set expandtab tabstop=2 shiftwidth=2: