Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Side by Side Diff: gyp/tools.gyp

Issue 15855006: prepare skia for shared library build on android (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebasing Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gyp/tests.gyp ('k') | gyp/xps.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # GYP file to build various tools. 1 # GYP file to build various tools.
2 # 2 #
3 # To build on Linux: 3 # To build on Linux:
4 # ./gyp_skia tools.gyp && make tools 4 # ./gyp_skia tools.gyp && make tools
5 # 5 #
6 { 6 {
7 'includes': [ 7 'includes': [
8 'apptype_console.gypi', 8 'apptype_console.gypi',
9 ], 9 ],
10 'targets': [ 10 'targets': [
(...skipping 19 matching lines...) Expand all
30 'sources': [ 30 'sources': [
31 '../tools/skdiff.cpp', 31 '../tools/skdiff.cpp',
32 '../tools/skdiff.h', 32 '../tools/skdiff.h',
33 '../tools/skdiff_html.cpp', 33 '../tools/skdiff_html.cpp',
34 '../tools/skdiff_html.h', 34 '../tools/skdiff_html.h',
35 '../tools/skdiff_main.cpp', 35 '../tools/skdiff_main.cpp',
36 '../tools/skdiff_utils.cpp', 36 '../tools/skdiff_utils.cpp',
37 '../tools/skdiff_utils.h', 37 '../tools/skdiff_utils.h',
38 ], 38 ],
39 'dependencies': [ 39 'dependencies': [
40 'skia_base_libs.gyp:skia_base_libs', 40 'skia_lib.gyp:skia_lib',
41 'effects.gyp:effects',
42 'images.gyp:images',
43 ], 41 ],
44 }, 42 },
45 { 43 {
46 'target_name': 'skimagediff', 44 'target_name': 'skimagediff',
47 'type': 'executable', 45 'type': 'executable',
48 'sources': [ 46 'sources': [
49 '../tools/skdiff.cpp', 47 '../tools/skdiff.cpp',
50 '../tools/skdiff.h', 48 '../tools/skdiff.h',
51 '../tools/skdiff_html.cpp', 49 '../tools/skdiff_html.cpp',
52 '../tools/skdiff_html.h', 50 '../tools/skdiff_html.h',
53 '../tools/skdiff_image.cpp', 51 '../tools/skdiff_image.cpp',
54 '../tools/skdiff_utils.cpp', 52 '../tools/skdiff_utils.cpp',
55 '../tools/skdiff_utils.h', 53 '../tools/skdiff_utils.h',
56 ], 54 ],
57 'dependencies': [ 55 'dependencies': [
58 'skia_base_libs.gyp:skia_base_libs', 56 'skia_lib.gyp:skia_lib',
59 'effects.gyp:effects',
60 'images.gyp:images',
61 ], 57 ],
62 }, 58 },
63 { 59 {
64 'target_name': 'skhello', 60 'target_name': 'skhello',
65 'type': 'executable', 61 'type': 'executable',
66 'sources': [ 62 'sources': [
67 '../tools/skhello.cpp', 63 '../tools/skhello.cpp',
68 ], 64 ],
69 'dependencies': [ 65 'dependencies': [
70 'skia_base_libs.gyp:skia_base_libs', 66 'skia_lib.gyp:skia_lib',
71 'effects.gyp:effects',
72 'flags.gyp:flags', 67 'flags.gyp:flags',
73 'images.gyp:images',
74 ], 68 ],
75 }, 69 },
76 { 70 {
77 'target_name': 'skimage', 71 'target_name': 'skimage',
78 'type': 'executable', 72 'type': 'executable',
79 'sources': [ 73 'sources': [
80 '../tools/skimage_main.cpp', 74 '../tools/skimage_main.cpp',
81 ], 75 ],
82 'include_dirs': [ 76 'include_dirs': [
83 # For SkBitmapHasher.h 77 # For SkBitmapHasher.h
84 '../src/utils/', 78 '../src/utils/',
85 ], 79 ],
86 'dependencies': [ 80 'dependencies': [
87 'skia_base_libs.gyp:skia_base_libs', 81 'skia_lib.gyp:skia_lib',
88 'effects.gyp:effects',
89 'flags.gyp:flags', 82 'flags.gyp:flags',
90 'gm.gyp:gm_expectations', 83 'gm.gyp:gm_expectations',
91 'images.gyp:images',
92 'jsoncpp.gyp:jsoncpp', 84 'jsoncpp.gyp:jsoncpp',
93 'utils.gyp:utils', 85 'utils.gyp:utils',
94 ], 86 ],
95 }, 87 },
96 { 88 {
97 'target_name': 'lua_pictures', 89 'target_name': 'lua_pictures',
98 'type': 'executable', 90 'type': 'executable',
99 'sources': [ 91 'sources': [
100 '../tools/lua/lua_pictures.cpp', 92 '../tools/lua/lua_pictures.cpp',
101 '../src/utils/SkLuaCanvas.cpp', 93 '../src/utils/SkLuaCanvas.cpp',
102 '../src/utils/SkLua.cpp', 94 '../src/utils/SkLua.cpp',
103 ], 95 ],
104 'dependencies': [ 96 'dependencies': [
105 'skia_base_libs.gyp:skia_base_libs', 97 'skia_lib.gyp:skia_lib',
106 'effects.gyp:effects', 98 'effects.gyp:effects',
107 'utils.gyp:utils', 99 'utils.gyp:utils',
108 'images.gyp:images', 100 'images.gyp:images',
109 'tools.gyp:picture_renderer', 101 'tools.gyp:picture_renderer',
110 'tools.gyp:picture_utils', 102 'tools.gyp:picture_utils',
111 'ports.gyp:ports', 103 'ports.gyp:ports',
112 'flags.gyp:flags', 104 'flags.gyp:flags',
113 'lua.gyp:lua', 105 'lua.gyp:lua',
114 ], 106 ],
115 }, 107 },
116 { 108 {
117 'target_name': 'render_pictures', 109 'target_name': 'render_pictures',
118 'type': 'executable', 110 'type': 'executable',
119 'sources': [ 111 'sources': [
120 '../tools/render_pictures_main.cpp', 112 '../tools/render_pictures_main.cpp',
121 ], 113 ],
122 'include_dirs': [ 114 'include_dirs': [
123 '../src/pipe/utils/', 115 '../src/pipe/utils/',
124 ], 116 ],
125 'dependencies': [ 117 'dependencies': [
126 'skia_base_libs.gyp:skia_base_libs', 118 'skia_lib.gyp:skia_lib',
127 'tools.gyp:picture_renderer', 119 'tools.gyp:picture_renderer',
128 'tools.gyp:picture_utils', 120 'tools.gyp:picture_utils',
129 'ports.gyp:ports',
130 'flags.gyp:flags', 121 'flags.gyp:flags',
131 ], 122 ],
132 }, 123 },
133 { 124 {
134 'target_name': 'bench_pictures', 125 'target_name': 'bench_pictures',
135 'type': 'executable', 126 'type': 'executable',
136 'sources': [ 127 'sources': [
137 '../bench/SkBenchLogger.h', 128 '../bench/SkBenchLogger.h',
138 '../bench/SkBenchLogger.cpp', 129 '../bench/SkBenchLogger.cpp',
139 '../bench/TimerData.h', 130 '../bench/TimerData.h',
140 '../bench/TimerData.cpp', 131 '../bench/TimerData.cpp',
141 '../tools/bench_pictures_main.cpp', 132 '../tools/bench_pictures_main.cpp',
142 '../tools/PictureBenchmark.cpp', 133 '../tools/PictureBenchmark.cpp',
143 ], 134 ],
144 'include_dirs': [ 135 'include_dirs': [
145 '../bench', 136 '../bench',
146 '../src/lazy/', 137 '../src/lazy/',
147 ], 138 ],
148 'dependencies': [ 139 'dependencies': [
149 'skia_base_libs.gyp:skia_base_libs', 140 'skia_lib.gyp:skia_lib',
150 'effects.gyp:effects',
151 'tools.gyp:picture_utils', 141 'tools.gyp:picture_utils',
152 'tools.gyp:picture_renderer', 142 'tools.gyp:picture_renderer',
153 'bench.gyp:bench_timer', 143 'bench.gyp:bench_timer',
154 'ports.gyp:ports',
155 'flags.gyp:flags', 144 'flags.gyp:flags',
156 ], 145 ],
157 }, 146 },
158 { 147 {
159 'target_name': 'picture_renderer', 148 'target_name': 'picture_renderer',
160 'type': 'static_library', 149 'type': 'static_library',
161 'sources': [ 150 'sources': [
162 '../tools/PictureRenderer.h', 151 '../tools/PictureRenderer.h',
163 '../tools/PictureRenderer.cpp', 152 '../tools/PictureRenderer.cpp',
164 '../tools/PictureRenderingFlags.h', 153 '../tools/PictureRenderingFlags.h',
165 '../tools/PictureRenderingFlags.cpp', 154 '../tools/PictureRenderingFlags.cpp',
166 '../tools/CopyTilesRenderer.h', 155 '../tools/CopyTilesRenderer.h',
167 '../tools/CopyTilesRenderer.cpp', 156 '../tools/CopyTilesRenderer.cpp',
168 '../src/pipe/utils/SamplePipeControllers.h', 157 '../src/pipe/utils/SamplePipeControllers.h',
169 '../src/pipe/utils/SamplePipeControllers.cpp', 158 '../src/pipe/utils/SamplePipeControllers.cpp',
170 ], 159 ],
171 'include_dirs': [ 160 'include_dirs': [
172 '../src/core/', 161 '../src/core/',
173 '../src/pipe/utils/', 162 '../src/pipe/utils/',
174 '../src/utils/', 163 '../src/utils/',
175 ], 164 ],
176 'dependencies': [ 165 'dependencies': [
177 'skia_base_libs.gyp:skia_base_libs', 166 'skia_lib.gyp:skia_lib',
178 'effects.gyp:effects',
179 'images.gyp:images',
180 'tools.gyp:picture_utils', 167 'tools.gyp:picture_utils',
181 'flags.gyp:flags', 168 'flags.gyp:flags',
182 ], 169 ],
183 'conditions': [ 170 'conditions': [
184 ['skia_gpu == 1', 171 ['skia_gpu == 1',
185 { 172 {
186 'include_dirs' : [ 173 'include_dirs' : [
187 '../src/gpu', 174 '../src/gpu',
188 ], 175 ],
189 }, 176 },
190 ], 177 ],
191 ], 178 ],
192 'export_dependent_settings': [
193 'images.gyp:images',
194 ],
195 }, 179 },
196 { 180 {
197 'target_name': 'render_pdfs', 181 'target_name': 'render_pdfs',
198 'type': 'executable', 182 'type': 'executable',
199 'sources': [ 183 'sources': [
200 '../tools/render_pdfs_main.cpp', 184 '../tools/render_pdfs_main.cpp',
201 '../tools/PdfRenderer.cpp', 185 '../tools/PdfRenderer.cpp',
202 '../tools/PdfRenderer.h', 186 '../tools/PdfRenderer.h',
203 ], 187 ],
204 'include_dirs': [ 188 'include_dirs': [
205 '../src/pipe/utils/', 189 '../src/pipe/utils/',
206 '../src/utils/', 190 '../src/utils/',
207 ], 191 ],
208 'dependencies': [ 192 'dependencies': [
209 'core.gyp:core', 193 'skia_lib.gyp:skia_lib',
210 'effects.gyp:effects',
211 'images.gyp:images',
212 'pdf.gyp:pdf', 194 'pdf.gyp:pdf',
213 'ports.gyp:ports',
214 'tools.gyp:picture_utils', 195 'tools.gyp:picture_utils',
215 ], 196 ],
216 'conditions': [ 197 'conditions': [
217 ['skia_win_debuggers_path and skia_os == "win"', 198 ['skia_win_debuggers_path and skia_os == "win"',
218 { 199 {
219 'dependencies': [ 200 'dependencies': [
220 'tools.gyp:win_dbghelp', 201 'tools.gyp:win_dbghelp',
221 ], 202 ],
222 }, 203 },
223 ], 204 ],
(...skipping 26 matching lines...) Expand all
250 ], 231 ],
251 }, 232 },
252 { 233 {
253 'target_name': 'picture_utils', 234 'target_name': 'picture_utils',
254 'type': 'static_library', 235 'type': 'static_library',
255 'sources': [ 236 'sources': [
256 '../tools/picture_utils.cpp', 237 '../tools/picture_utils.cpp',
257 '../tools/picture_utils.h', 238 '../tools/picture_utils.h',
258 ], 239 ],
259 'dependencies': [ 240 'dependencies': [
260 'skia_base_libs.gyp:skia_base_libs', 241 'skia_lib.gyp:skia_lib',
261 ], 242 ],
262 'direct_dependent_settings': { 243 'direct_dependent_settings': {
263 'include_dirs': [ 244 'include_dirs': [
264 '../tools/', 245 '../tools/',
265 ], 246 ],
266 }, 247 },
267 }, 248 },
268 { 249 {
269 'target_name': 'pinspect', 250 'target_name': 'pinspect',
270 'type': 'executable', 251 'type': 'executable',
271 'sources': [ 252 'sources': [
272 '../tools/pinspect.cpp', 253 '../tools/pinspect.cpp',
273 ], 254 ],
274 'dependencies': [ 255 'dependencies': [
275 'skia_base_libs.gyp:skia_base_libs', 256 'skia_lib.gyp:skia_lib',
276 'effects.gyp:effects',
277 'images.gyp:images',
278 ], 257 ],
279 }, 258 },
280 { 259 {
281 'target_name': 'filter', 260 'target_name': 'filter',
282 'type': 'executable', 261 'type': 'executable',
283 'include_dirs' : [ 262 'include_dirs' : [
284 '../src/core', 263 '../src/core',
285 '../debugger', 264 '../debugger',
286 ], 265 ],
287 'sources': [ 266 'sources': [
288 '../tools/filtermain.cpp', 267 '../tools/filtermain.cpp',
289 '../tools/path_utils.h', 268 '../tools/path_utils.h',
290 '../tools/path_utils.cpp', 269 '../tools/path_utils.cpp',
291 '../debugger/SkDrawCommand.h', 270 '../debugger/SkDrawCommand.h',
292 '../debugger/SkDrawCommand.cpp', 271 '../debugger/SkDrawCommand.cpp',
293 '../debugger/SkDebugCanvas.h', 272 '../debugger/SkDebugCanvas.h',
294 '../debugger/SkDebugCanvas.cpp', 273 '../debugger/SkDebugCanvas.cpp',
295 '../debugger/SkObjectParser.h', 274 '../debugger/SkObjectParser.h',
296 '../debugger/SkObjectParser.cpp', 275 '../debugger/SkObjectParser.cpp',
297 ], 276 ],
298 'dependencies': [ 277 'dependencies': [
299 'skia_base_libs.gyp:skia_base_libs', 278 'skia_lib.gyp:skia_lib',
300 'effects.gyp:effects',
301 'images.gyp:images',
302 'tools.gyp:picture_utils', 279 'tools.gyp:picture_utils',
303 ], 280 ],
304 }, 281 },
305 ], 282 ],
306 'conditions': [ 283 'conditions': [
307 ['skia_win_debuggers_path and skia_os == "win"', 284 ['skia_win_debuggers_path and skia_os == "win"',
308 { 285 {
309 'targets': [ 286 'targets': [
310 { 287 {
311 'target_name': 'win_dbghelp', 288 'target_name': 'win_dbghelp',
(...skipping 23 matching lines...) Expand all
335 }, 312 },
336 ], 313 ],
337 ], 314 ],
338 } 315 }
339 316
340 # Local Variables: 317 # Local Variables:
341 # tab-width:2 318 # tab-width:2
342 # indent-tabs-mode:nil 319 # indent-tabs-mode:nil
343 # End: 320 # End:
344 # vim: set expandtab tabstop=2 shiftwidth=2: 321 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/tests.gyp ('k') | gyp/xps.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698