blob: 8845d9aba48a415085f5cff5b6c61686ccd5336f [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',
reed@google.comc8cc60c2011-06-13 14:58:44 +000029 '../include/utils/SkMatrix44.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000030 '../include/utils/SkMeshUtils.h',
31 '../include/utils/SkNinePatch.h',
32 '../include/utils/SkNWayCanvas.h',
33 '../include/utils/SkParse.h',
34 '../include/utils/SkParsePaint.h',
35 '../include/utils/SkParsePath.h',
36 '../include/utils/SkProxyCanvas.h',
37 '../include/utils/SkSfntUtils.h',
38 '../include/utils/SkTextBox.h',
39 '../include/utils/SkUnitMappers.h',
40
41 '../src/utils/SkBoundaryPatch.cpp',
42 '../src/utils/SkCamera.cpp',
43 '../src/utils/SkColorMatrix.cpp',
44 '../src/utils/SkCubicInterval.cpp',
45 '../src/utils/SkCullPoints.cpp',
46 '../src/utils/SkDumpCanvas.cpp',
47 '../src/utils/SkEGLContext_none.cpp',
48 '../src/utils/SkInterpolator.cpp',
49 '../src/utils/SkLayer.cpp',
reed@google.comc8cc60c2011-06-13 14:58:44 +000050 '../src/utils/SkMatrix44.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000051 '../src/utils/SkMeshUtils.cpp',
52 '../src/utils/SkNinePatch.cpp',
53 '../src/utils/SkNWayCanvas.cpp',
54 '../src/utils/SkOSFile.cpp',
55 '../src/utils/SkParse.cpp',
56 '../src/utils/SkParseColor.cpp',
57 '../src/utils/SkParsePath.cpp',
58 '../src/utils/SkProxyCanvas.cpp',
59 '../src/utils/SkSfntUtils.cpp',
60 '../src/utils/SkUnitMappers.cpp',
61
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',
64 '../src/utils/mac/SkEGLContext_mac.cpp',
65 '../src/utils/mac/skia_mac.cpp',
66 '../src/utils/mac/SkOSWindow_Mac.cpp',
67
68 '../src/utils/mesa/SkEGLContext_Mesa.cpp',
69
70 '../src/utils/SDL/SkOSWindow_SDL.cpp',
71
72 '../src/utils/unix/keysym2ucs.c',
73 '../src/utils/unix/SkEGLContext_Unix.cpp',
74 '../src/utils/unix/SkOSWindow_Unix.cpp',
75
76 '../src/utils/win/skia_win.cpp',
bungeman@google.com3b0a8da2011-06-02 15:38:06 +000077 '../src/utils/win/SkEGLContext_Win.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000078 '../src/utils/win/SkOSWindow_Win.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000079 ],
80 'sources!': [
bungeman@google.com63aab2f2011-06-01 16:15:43 +000081 '../src/utils/mesa/SkEGLContext_Mesa.cpp',
82 '../src/utils/SDL/SkOSWindow_SDL.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000083 ],
84 'conditions': [
bungeman@google.com63aab2f2011-06-01 16:15:43 +000085 [ 'OS != "mac"', {
86 'sources!': [
87 '../include/utils/mac/SkCGUtils.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000088 '../src/utils/mac/SkCreateCGImageRef.cpp',
89 '../src/utils/mac/SkEGLContext_mac.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +000090 '../src/utils/mac/skia_mac.cpp',
91 '../src/utils/mac/SkOSWindow_Mac.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000092 ],
epoger@google.com0a030cd2011-06-02 19:52:14 +000093 'include_dirs!': [
94 '../include/utils/mac',
95 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000096 }],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +000097 [ 'OS == "mac"', {
98 'sources!': [
99 '../src/utils/SkEGLContext_none.cpp',
100 ],
epoger@google.comc39f1752011-06-03 17:52:12 +0000101 'link_settings': {
102 'libraries': [
103 '$(SDKROOT)/System/Library/Frameworks/AGL.framework',
104 ],
105 },
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000106 }],
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000107 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
108 'sources!': [
109 '../src/utils/unix/keysym2ucs.c',
epoger@google.comae85aea2011-05-31 13:50:51 +0000110 '../src/utils/unix/SkEGLContext_Unix.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000111 '../src/utils/unix/SkOSWindow_Unix.cpp',
112 ],
senorblanco@chromium.org907afca2011-06-01 20:55:45 +0000113 'include_dirs!': [
114 '../include/utils/unix',
115 ],
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000116 }],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000117 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
118 'sources!': [
119 '../src/utils/SkEGLContext_none.cpp',
120 ],
epoger@google.com161933b2011-06-03 17:21:21 +0000121 'link_settings': {
122 'libraries': [
123 '-lGL',
124 '-lGLU',
125 ],
126 },
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000127 }],
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000128 [ 'OS != "win"', {
129 'sources!': [
130 '../src/utils/win/skia_win.cpp',
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000131 '../src/utils/win/SkEGLContext_Win.cpp',
bungeman@google.com63aab2f2011-06-01 16:15:43 +0000132 '../src/utils/win/SkOSWindow_Win.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +0000133 ],
134 }],
bungeman@google.com3b0a8da2011-06-02 15:38:06 +0000135 [ 'OS == "win"', {
136 'sources!': [
137 '../src/utils/SkEGLContext_none.cpp',
138 ],
139 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000140 ],
141 'direct_dependent_settings': {
142 'include_dirs': [
143 '../include/utils',
144 ],
145 },
146 },
147 ],
148}
149
150# Local Variables:
151# tab-width:2
152# indent-tabs-mode:nil
153# End:
154# vim: set expandtab tabstop=2 shiftwidth=2: