blob: c0db0534393a7290d26fdde2f8065d11fe711b40 [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
2 'includes': [
3 'target_defaults.gypi',
4 ],
5 'targets': [
6 {
7 'target_name': 'utils',
8 'type': 'static_library',
9 'include_dirs': [
10 '../include/config',
11 '../include/core',
12 '../include/utils',
epoger@google.com0a030cd2011-06-02 19:52:14 +000013 '../include/utils/mac',
senorblanco@chromium.org907afca2011-06-01 20:55:45 +000014 '../include/utils/unix',
epoger@google.comae85aea2011-05-31 13:50:51 +000015 '../include/views',
16 '../include/effects',
17 '../include/xml',
18 ],
19 'sources': [
20 '../include/utils/SkBoundaryPatch.h',
21 '../include/utils/SkCamera.h',
22 '../include/utils/SkCubicInterval.h',
23 '../include/utils/SkCullPoints.h',
24 '../include/utils/SkDumpCanvas.h',
25 '../include/utils/SkEGLContext.h',
26 '../include/utils/SkGLCanvas.h',
27 '../include/utils/SkInterpolator.h',
28 '../include/utils/SkLayer.h',
29 '../include/utils/SkMeshUtils.h',
30 '../include/utils/SkNinePatch.h',
31 '../include/utils/SkNWayCanvas.h',
32 '../include/utils/SkParse.h',
33 '../include/utils/SkParsePaint.h',
34 '../include/utils/SkParsePath.h',
35 '../include/utils/SkProxyCanvas.h',
36 '../include/utils/SkSfntUtils.h',
37 '../include/utils/SkTextBox.h',
38 '../include/utils/SkUnitMappers.h',
39
40 '../src/utils/SkBoundaryPatch.cpp',
41 '../src/utils/SkCamera.cpp',
42 '../src/utils/SkColorMatrix.cpp',
43 '../src/utils/SkCubicInterval.cpp',
44 '../src/utils/SkCullPoints.cpp',
45 '../src/utils/SkDumpCanvas.cpp',
46 '../src/utils/SkEGLContext_none.cpp',
47 '../src/utils/SkInterpolator.cpp',
48 '../src/utils/SkLayer.cpp',
49 '../src/utils/SkMeshUtils.cpp',
50 '../src/utils/SkNinePatch.cpp',
51 '../src/utils/SkNWayCanvas.cpp',
52 '../src/utils/SkOSFile.cpp',
53 '../src/utils/SkParse.cpp',
54 '../src/utils/SkParseColor.cpp',
55 '../src/utils/SkParsePath.cpp',
56 '../src/utils/SkProxyCanvas.cpp',
57 '../src/utils/SkSfntUtils.cpp',
58 '../src/utils/SkUnitMappers.cpp',
59
bungeman@google.com63aab2f2011-06-01 16:15:43 +000060 '../include/utils/mac/SkCGUtils.h',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000061 '../src/utils/mac/SkCreateCGImageRef.cpp',
62 '../src/utils/mac/SkEGLContext_mac.cpp',
63 '../src/utils/mac/skia_mac.cpp',
64 '../src/utils/mac/SkOSWindow_Mac.cpp',
65
66 '../src/utils/mesa/SkEGLContext_Mesa.cpp',
67
68 '../src/utils/SDL/SkOSWindow_SDL.cpp',
69
70 '../src/utils/unix/keysym2ucs.c',
71 '../src/utils/unix/SkEGLContext_Unix.cpp',
72 '../src/utils/unix/SkOSWindow_Unix.cpp',
73
74 '../src/utils/win/skia_win.cpp',
bungeman@google.com3b0a8da2011-06-02 15:38:06 +000075 '../src/utils/win/SkEGLContext_Win.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000076 '../src/utils/win/SkOSWindow_Win.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000077 ],
78 'sources!': [
bungeman@google.com63aab2f2011-06-01 16:15:43 +000079 '../src/utils/mesa/SkEGLContext_Mesa.cpp',
80 '../src/utils/SDL/SkOSWindow_SDL.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000081 ],
82 'conditions': [
bungeman@google.com63aab2f2011-06-01 16:15:43 +000083 [ 'OS != "mac"', {
84 'sources!': [
85 '../include/utils/mac/SkCGUtils.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000086 '../src/utils/mac/SkCreateCGImageRef.cpp',
87 '../src/utils/mac/SkEGLContext_mac.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000088 '../src/utils/mac/skia_mac.cpp',
89 '../src/utils/mac/SkOSWindow_Mac.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000090 ],
epoger@google.com0a030cd2011-06-02 19:52:14 +000091 'include_dirs!': [
92 '../include/utils/mac',
93 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000094 }],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +000095 [ 'OS == "mac"', {
96 'sources!': [
97 '../src/utils/SkEGLContext_none.cpp',
98 ],
99 }],
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000100 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
101 'sources!': [
102 '../src/utils/unix/keysym2ucs.c',
epoger@google.comae85aea2011-05-31 13:50:51 +0000103 '../src/utils/unix/SkEGLContext_Unix.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000104 '../src/utils/unix/SkOSWindow_Unix.cpp',
105 ],
senorblanco@chromium.org907afca2011-06-01 20:55:45 +0000106 'include_dirs!': [
107 '../include/utils/unix',
108 ],
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000109 }],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000110 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
111 'sources!': [
112 '../src/utils/SkEGLContext_none.cpp',
113 ],
epoger@google.com161933b2011-06-03 17:21:21 +0000114 'link_settings': {
115 'libraries': [
116 '-lGL',
117 '-lGLU',
118 ],
119 },
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000120 }],
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000121 [ 'OS != "win"', {
122 'sources!': [
123 '../src/utils/win/skia_win.cpp',
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000124 '../src/utils/win/SkEGLContext_Win.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000125 '../src/utils/win/SkOSWindow_Win.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +0000126 ],
127 }],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000128 [ 'OS == "win"', {
129 'sources!': [
130 '../src/utils/SkEGLContext_none.cpp',
131 ],
132 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000133 ],
134 'direct_dependent_settings': {
135 'include_dirs': [
136 '../include/utils',
137 ],
138 },
139 },
140 ],
141}
142
143# Local Variables:
144# tab-width:2
145# indent-tabs-mode:nil
146# End:
147# vim: set expandtab tabstop=2 shiftwidth=2: