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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/common.gypi ('k') | tools/parse_pdfs_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/tools.gyp
===================================================================
--- gyp/tools.gyp (revision 8456)
+++ gyp/tools.gyp (working copy)
@@ -4,6 +4,9 @@
# ./gyp_skia tools.gyp && make tools
#
{
+ 'variables': {
+ 'skia_warnings_as_errors': 0,
+ },
'includes': [
'apptype_console.gypi',
],
@@ -16,6 +19,7 @@
'bench_pictures',
'filter',
'pinspect',
+ 'parse_pdfs',
'render_pdfs',
'render_pictures',
'skdiff',
@@ -221,6 +225,160 @@
],
},
{
+ 'target_name': 'parse_pdfs',
+ 'type': 'executable',
+ 'sources': [
+ '../tools/parse_pdfs_main.cpp',
+ '../tools/TextExtractor.cpp',
+ '../third_party/externals/podofo/src/base',
+ '../third_party/externals/podofo/src/base/PdfArray.cpp',
+ '../third_party/externals/podofo/src/base/PdfCanvas.cpp',
+ '../third_party/externals/podofo/src/base/PdfColor.cpp',
+ '../third_party/externals/podofo/src/base/PdfContentsTokenizer.cpp',
+ '../third_party/externals/podofo/src/base/PdfData.cpp',
+ '../third_party/externals/podofo/src/base/PdfDataType.cpp',
+ '../third_party/externals/podofo/src/base/PdfDate.cpp',
+ '../third_party/externals/podofo/src/base/PdfDictionary.cpp',
+ '../third_party/externals/podofo/src/base/PdfEncoding.cpp',
+ '../third_party/externals/podofo/src/base/PdfEncodingFactory.cpp',
+ '../third_party/externals/podofo/src/base/PdfEncrypt.cpp',
+ '../third_party/externals/podofo/src/base/PdfError.cpp',
+ '../third_party/externals/podofo/src/base/PdfFileStream.cpp',
+ '../third_party/externals/podofo/src/base/PdfFilter.cpp',
+ '../third_party/externals/podofo/src/base/PdfFiltersPrivate.cpp',
+ '../third_party/externals/podofo/src/base/PdfImmediateWriter.cpp',
+ '../third_party/externals/podofo/src/base/PdfInputDevice.cpp',
+ '../third_party/externals/podofo/src/base/PdfInputStream.cpp',
+ '../third_party/externals/podofo/src/base/PdfLocale.cpp',
+ '../third_party/externals/podofo/src/base/PdfMemoryManagement.cpp',
+ '../third_party/externals/podofo/src/base/PdfMemStream.cpp',
+ '../third_party/externals/podofo/src/base/PdfName.cpp',
+ '../third_party/externals/podofo/src/base/PdfObject.cpp',
+ '../third_party/externals/podofo/src/base/PdfObjectStreamParserObject.cpp',
+ '../third_party/externals/podofo/src/base/PdfOutputDevice.cpp',
+ '../third_party/externals/podofo/src/base/PdfOutputStream.cpp',
+ '../third_party/externals/podofo/src/base/PdfParser.cpp',
+ '../third_party/externals/podofo/src/base/PdfParserObject.cpp',
+ '../third_party/externals/podofo/src/base/PdfRect.cpp',
+ '../third_party/externals/podofo/src/base/PdfRefCountedBuffer.cpp',
+ '../third_party/externals/podofo/src/base/PdfRefCountedInputDevice.cpp',
+ '../third_party/externals/podofo/src/base/PdfReference.cpp',
+ '../third_party/externals/podofo/src/base/PdfStream.cpp',
+ '../third_party/externals/podofo/src/base/PdfString.cpp',
+ '../third_party/externals/podofo/src/base/PdfTokenizer.cpp',
+ '../third_party/externals/podofo/src/base/PdfVariant.cpp',
+ '../third_party/externals/podofo/src/base/PdfVecObjects.cpp',
+ '../third_party/externals/podofo/src/base/PdfWriter.cpp',
+ '../third_party/externals/podofo/src/base/PdfXRef.cpp',
+ '../third_party/externals/podofo/src/base/PdfXRefStream.cpp',
+ '../third_party/externals/podofo/src/base/PdfXRefStreamParserObject.cpp',
+ '../third_party/externals/podofo/src/doc/PdfAcroForm.cpp',
+ '../third_party/externals/podofo/src/doc/PdfAction.cpp',
+ '../third_party/externals/podofo/src/doc/PdfAnnotation.cpp',
+ '../third_party/externals/podofo/src/doc/PdfContents.cpp',
+ '../third_party/externals/podofo/src/doc/PdfDestination.cpp',
+ '../third_party/externals/podofo/src/doc/PdfDifferenceEncoding.cpp',
+ '../third_party/externals/podofo/src/doc/PdfDocument.cpp',
+ '../third_party/externals/podofo/src/doc/PdfElement.cpp',
+ '../third_party/externals/podofo/src/doc/PdfEncodingObjectFactory.cpp',
+ '../third_party/externals/podofo/src/doc/PdfExtGState.cpp',
+ '../third_party/externals/podofo/src/doc/PdfField.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFileSpec.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontCache.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontCID.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontConfigWrapper.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFont.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontFactory.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontMetricsBase14.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontMetrics.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontMetricsFreetype.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontMetricsObject.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontSimple.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontTrueType.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontTTFSubset.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontType1Base14.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFontType1.cpp',
+ '../third_party/externals/podofo/src/doc/PdfFunction.cpp',
+ '../third_party/externals/podofo/src/doc/PdfHintStream.cpp',
+ '../third_party/externals/podofo/src/doc/PdfIdentityEncoding.cpp',
+ '../third_party/externals/podofo/src/doc/PdfImage.cpp',
+ '../third_party/externals/podofo/src/doc/PdfInfo.cpp',
+ '../third_party/externals/podofo/src/doc/PdfMemDocument.cpp',
+ '../third_party/externals/podofo/src/doc/PdfNamesTree.cpp',
+ '../third_party/externals/podofo/src/doc/PdfOutlines.cpp',
+ '../third_party/externals/podofo/src/doc/PdfPage.cpp',
+ '../third_party/externals/podofo/src/doc/PdfPagesTreeCache.cpp',
+ '../third_party/externals/podofo/src/doc/PdfPagesTree.cpp',
+ '../third_party/externals/podofo/src/doc/PdfPainter.cpp',
+ '../third_party/externals/podofo/src/doc/PdfPainterMM.cpp',
+ '../third_party/externals/podofo/src/doc/PdfShadingPattern.cpp',
+ '../third_party/externals/podofo/src/doc/PdfSignatureField.cpp',
+ '../third_party/externals/podofo/src/doc/PdfSignOutputDevice.cpp',
+ '../third_party/externals/podofo/src/doc/PdfStreamedDocument.cpp',
+ '../third_party/externals/podofo/src/doc/PdfTable.cpp',
+ '../third_party/externals/podofo/src/doc/PdfXObject.cpp',
+ '../third_party/externals/podofo/src/doc/PdfCMapEncoding.cpp',
+ ],
+ 'include_dirs': [
+ '../third_party/externals/podofo/src/base',
+ '../third_party/externals/podofo/src',
+ '../third_party/externals/podofo',
+ '../tools',
+ ],
+ 'dependencies': [
+ 'core.gyp:core',
+ 'effects.gyp:effects',
+ 'images.gyp:images',
+ 'pdf.gyp:pdf',
+ 'ports.gyp:ports',
+ 'tools.gyp:picture_utils',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-lssl',
+ '-lcrypto',
+ #'-llibpcre',
+ #'-llibssl',
+ #'-llibexpat',
+ ],
+ },
+ 'conditions': [
+ ['skia_win_debuggers_path and skia_os == "win"',
+ {
+ 'dependencies': [
+ 'tools.gyp:win_dbghelp',
+ ],
+ },
+ ],
+ # VS static libraries don't have a linker option. We must set a global
+ # project linker option, or add it to each executable.
+ ['skia_win_debuggers_path and skia_os == "win" and '
+ 'skia_arch_width == 64',
+ {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': [
+ '<(skia_win_debuggers_path)/x64/DbgHelp.lib',
+ ],
+ },
+ },
+ },
+ ],
+ ['skia_win_debuggers_path and skia_os == "win" and '
+ 'skia_arch_width == 32',
+ {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': [
+ '<(skia_win_debuggers_path)/DbgHelp.lib',
+ ],
+ },
+ },
+ },
+ ],
+ ],
+ },
+ {
'target_name': 'picture_utils',
'type': 'static_library',
'sources': [
« 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