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

Side by Side Diff: gyp/tools.gyp

Issue 13483012: podofo draft Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 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/common.gypi ('k') | tools/parse_pdfs_main.cpp » ('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 'variables': {
8 'skia_warnings_as_errors': 0,
9 },
7 'includes': [ 10 'includes': [
8 'apptype_console.gypi', 11 'apptype_console.gypi',
9 ], 12 ],
10 'targets': [ 13 'targets': [
11 { 14 {
12 # Build all executable targets defined below. 15 # Build all executable targets defined below.
13 'target_name': 'tools', 16 'target_name': 'tools',
14 'type': 'none', 17 'type': 'none',
15 'dependencies': [ 18 'dependencies': [
16 'bench_pictures', 19 'bench_pictures',
17 'filter', 20 'filter',
18 'pinspect', 21 'pinspect',
22 'parse_pdfs',
19 'render_pdfs', 23 'render_pdfs',
20 'render_pictures', 24 'render_pictures',
21 'skdiff', 25 'skdiff',
22 'skhello', 26 'skhello',
23 'skimage', 27 'skimage',
24 ], 28 ],
25 }, 29 },
26 { 30 {
27 'target_name': 'skdiff', 31 'target_name': 'skdiff',
28 'type': 'executable', 32 'type': 'executable',
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 'AdditionalDependencies': [ 218 'AdditionalDependencies': [
215 '<(skia_win_debuggers_path)/DbgHelp.lib', 219 '<(skia_win_debuggers_path)/DbgHelp.lib',
216 ], 220 ],
217 }, 221 },
218 }, 222 },
219 }, 223 },
220 ], 224 ],
221 ], 225 ],
222 }, 226 },
223 { 227 {
228 'target_name': 'parse_pdfs',
229 'type': 'executable',
230 'sources': [
231 '../tools/parse_pdfs_main.cpp',
232 '../tools/TextExtractor.cpp',
233 '../third_party/externals/podofo/src/base',
234 '../third_party/externals/podofo/src/base/PdfArray.cpp',
235 '../third_party/externals/podofo/src/base/PdfCanvas.cpp',
236 '../third_party/externals/podofo/src/base/PdfColor.cpp',
237 '../third_party/externals/podofo/src/base/PdfContentsTokenizer.cpp',
238 '../third_party/externals/podofo/src/base/PdfData.cpp',
239 '../third_party/externals/podofo/src/base/PdfDataType.cpp',
240 '../third_party/externals/podofo/src/base/PdfDate.cpp',
241 '../third_party/externals/podofo/src/base/PdfDictionary.cpp',
242 '../third_party/externals/podofo/src/base/PdfEncoding.cpp',
243 '../third_party/externals/podofo/src/base/PdfEncodingFactory.cpp',
244 '../third_party/externals/podofo/src/base/PdfEncrypt.cpp',
245 '../third_party/externals/podofo/src/base/PdfError.cpp',
246 '../third_party/externals/podofo/src/base/PdfFileStream.cpp',
247 '../third_party/externals/podofo/src/base/PdfFilter.cpp',
248 '../third_party/externals/podofo/src/base/PdfFiltersPrivate.cpp',
249 '../third_party/externals/podofo/src/base/PdfImmediateWriter.cpp',
250 '../third_party/externals/podofo/src/base/PdfInputDevice.cpp',
251 '../third_party/externals/podofo/src/base/PdfInputStream.cpp',
252 '../third_party/externals/podofo/src/base/PdfLocale.cpp',
253 '../third_party/externals/podofo/src/base/PdfMemoryManagement.cpp',
254 '../third_party/externals/podofo/src/base/PdfMemStream.cpp',
255 '../third_party/externals/podofo/src/base/PdfName.cpp',
256 '../third_party/externals/podofo/src/base/PdfObject.cpp',
257 '../third_party/externals/podofo/src/base/PdfObjectStreamParserObject.cp p',
258 '../third_party/externals/podofo/src/base/PdfOutputDevice.cpp',
259 '../third_party/externals/podofo/src/base/PdfOutputStream.cpp',
260 '../third_party/externals/podofo/src/base/PdfParser.cpp',
261 '../third_party/externals/podofo/src/base/PdfParserObject.cpp',
262 '../third_party/externals/podofo/src/base/PdfRect.cpp',
263 '../third_party/externals/podofo/src/base/PdfRefCountedBuffer.cpp',
264 '../third_party/externals/podofo/src/base/PdfRefCountedInputDevice.cpp',
265 '../third_party/externals/podofo/src/base/PdfReference.cpp',
266 '../third_party/externals/podofo/src/base/PdfStream.cpp',
267 '../third_party/externals/podofo/src/base/PdfString.cpp',
268 '../third_party/externals/podofo/src/base/PdfTokenizer.cpp',
269 '../third_party/externals/podofo/src/base/PdfVariant.cpp',
270 '../third_party/externals/podofo/src/base/PdfVecObjects.cpp',
271 '../third_party/externals/podofo/src/base/PdfWriter.cpp',
272 '../third_party/externals/podofo/src/base/PdfXRef.cpp',
273 '../third_party/externals/podofo/src/base/PdfXRefStream.cpp',
274 '../third_party/externals/podofo/src/base/PdfXRefStreamParserObject.cpp' ,
275 '../third_party/externals/podofo/src/doc/PdfAcroForm.cpp',
276 '../third_party/externals/podofo/src/doc/PdfAction.cpp',
277 '../third_party/externals/podofo/src/doc/PdfAnnotation.cpp',
278 '../third_party/externals/podofo/src/doc/PdfContents.cpp',
279 '../third_party/externals/podofo/src/doc/PdfDestination.cpp',
280 '../third_party/externals/podofo/src/doc/PdfDifferenceEncoding.cpp',
281 '../third_party/externals/podofo/src/doc/PdfDocument.cpp',
282 '../third_party/externals/podofo/src/doc/PdfElement.cpp',
283 '../third_party/externals/podofo/src/doc/PdfEncodingObjectFactory.cpp',
284 '../third_party/externals/podofo/src/doc/PdfExtGState.cpp',
285 '../third_party/externals/podofo/src/doc/PdfField.cpp',
286 '../third_party/externals/podofo/src/doc/PdfFileSpec.cpp',
287 '../third_party/externals/podofo/src/doc/PdfFontCache.cpp',
288 '../third_party/externals/podofo/src/doc/PdfFontCID.cpp',
289 '../third_party/externals/podofo/src/doc/PdfFontConfigWrapper.cpp',
290 '../third_party/externals/podofo/src/doc/PdfFont.cpp',
291 '../third_party/externals/podofo/src/doc/PdfFontFactory.cpp',
292 '../third_party/externals/podofo/src/doc/PdfFontMetricsBase14.cpp',
293 '../third_party/externals/podofo/src/doc/PdfFontMetrics.cpp',
294 '../third_party/externals/podofo/src/doc/PdfFontMetricsFreetype.cpp',
295 '../third_party/externals/podofo/src/doc/PdfFontMetricsObject.cpp',
296 '../third_party/externals/podofo/src/doc/PdfFontSimple.cpp',
297 '../third_party/externals/podofo/src/doc/PdfFontTrueType.cpp',
298 '../third_party/externals/podofo/src/doc/PdfFontTTFSubset.cpp',
299 '../third_party/externals/podofo/src/doc/PdfFontType1Base14.cpp',
300 '../third_party/externals/podofo/src/doc/PdfFontType1.cpp',
301 '../third_party/externals/podofo/src/doc/PdfFunction.cpp',
302 '../third_party/externals/podofo/src/doc/PdfHintStream.cpp',
303 '../third_party/externals/podofo/src/doc/PdfIdentityEncoding.cpp',
304 '../third_party/externals/podofo/src/doc/PdfImage.cpp',
305 '../third_party/externals/podofo/src/doc/PdfInfo.cpp',
306 '../third_party/externals/podofo/src/doc/PdfMemDocument.cpp',
307 '../third_party/externals/podofo/src/doc/PdfNamesTree.cpp',
308 '../third_party/externals/podofo/src/doc/PdfOutlines.cpp',
309 '../third_party/externals/podofo/src/doc/PdfPage.cpp',
310 '../third_party/externals/podofo/src/doc/PdfPagesTreeCache.cpp',
311 '../third_party/externals/podofo/src/doc/PdfPagesTree.cpp',
312 '../third_party/externals/podofo/src/doc/PdfPainter.cpp',
313 '../third_party/externals/podofo/src/doc/PdfPainterMM.cpp',
314 '../third_party/externals/podofo/src/doc/PdfShadingPattern.cpp',
315 '../third_party/externals/podofo/src/doc/PdfSignatureField.cpp',
316 '../third_party/externals/podofo/src/doc/PdfSignOutputDevice.cpp',
317 '../third_party/externals/podofo/src/doc/PdfStreamedDocument.cpp',
318 '../third_party/externals/podofo/src/doc/PdfTable.cpp',
319 '../third_party/externals/podofo/src/doc/PdfXObject.cpp',
320 '../third_party/externals/podofo/src/doc/PdfCMapEncoding.cpp',
321 ],
322 'include_dirs': [
323 '../third_party/externals/podofo/src/base',
324 '../third_party/externals/podofo/src',
325 '../third_party/externals/podofo',
326 '../tools',
327 ],
328 'dependencies': [
329 'core.gyp:core',
330 'effects.gyp:effects',
331 'images.gyp:images',
332 'pdf.gyp:pdf',
333 'ports.gyp:ports',
334 'tools.gyp:picture_utils',
335 ],
336 'link_settings': {
337 'libraries': [
338 '-lssl',
339 '-lcrypto',
340 #'-llibpcre',
341 #'-llibssl',
342 #'-llibexpat',
343 ],
344 },
345 'conditions': [
346 ['skia_win_debuggers_path and skia_os == "win"',
347 {
348 'dependencies': [
349 'tools.gyp:win_dbghelp',
350 ],
351 },
352 ],
353 # VS static libraries don't have a linker option. We must set a global
354 # project linker option, or add it to each executable.
355 ['skia_win_debuggers_path and skia_os == "win" and '
356 'skia_arch_width == 64',
357 {
358 'msvs_settings': {
359 'VCLinkerTool': {
360 'AdditionalDependencies': [
361 '<(skia_win_debuggers_path)/x64/DbgHelp.lib',
362 ],
363 },
364 },
365 },
366 ],
367 ['skia_win_debuggers_path and skia_os == "win" and '
368 'skia_arch_width == 32',
369 {
370 'msvs_settings': {
371 'VCLinkerTool': {
372 'AdditionalDependencies': [
373 '<(skia_win_debuggers_path)/DbgHelp.lib',
374 ],
375 },
376 },
377 },
378 ],
379 ],
380 },
381 {
224 'target_name': 'picture_utils', 382 'target_name': 'picture_utils',
225 'type': 'static_library', 383 'type': 'static_library',
226 'sources': [ 384 'sources': [
227 '../tools/picture_utils.cpp', 385 '../tools/picture_utils.cpp',
228 '../tools/picture_utils.h', 386 '../tools/picture_utils.h',
229 ], 387 ],
230 'dependencies': [ 388 'dependencies': [
231 'skia_base_libs.gyp:skia_base_libs', 389 'skia_base_libs.gyp:skia_base_libs',
232 ], 390 ],
233 }, 391 },
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 }, 446 },
289 ], 447 ],
290 ], 448 ],
291 } 449 }
292 450
293 # Local Variables: 451 # Local Variables:
294 # tab-width:2 452 # tab-width:2
295 # indent-tabs-mode:nil 453 # indent-tabs-mode:nil
296 # End: 454 # End:
297 # vim: set expandtab tabstop=2 shiftwidth=2: 455 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/common.gypi ('k') | tools/parse_pdfs_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698