OLD | NEW |
1 # GYP file to build pdfviewer. | 1 # GYP file to build pdfviewer. |
2 # | 2 # |
3 # To build on Linux: | 3 # To build on Linux: |
4 # ./gyp_skia pdfviewer.gyp && make pdfviewer | 4 # ./gyp_skia pdfviewer.gyp && make pdfviewer |
5 # | 5 # |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'skia_warnings_as_errors': 0, | 8 'skia_warnings_as_errors': 0, |
9 }, | 9 }, |
10 'includes': [ | 10 'includes': [ |
11 'apptype_console.gypi', | 11 'apptype_console.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'libpdfviewer', | 15 'target_name': 'libpdfviewer', |
16 'type': 'static_library', | 16 'type': 'static_library', |
17 'cflags': ['-fexceptions'], | 17 'cflags': ['-fexceptions'], |
18 'cflags_cc': ['-fexceptions'], | 18 'cflags_cc': ['-fexceptions'], |
19 'cflags!': [ '-fno-exceptions' ], | 19 'cflags!': [ '-fno-exceptions' ], |
20 'cflags_cc!': [ '-fno-exceptions' ], | 20 'cflags_cc!': [ '-fno-exceptions' ], |
21 'sources': [ | 21 'sources': [ |
22 '../experimental/PdfViewer/SkPdfBasics.cpp', | 22 '../experimental/PdfViewer/SkPdfBasics.cpp', |
23 '../experimental/PdfViewer/SkPdfFont.cpp', | 23 '../experimental/PdfViewer/SkPdfFont.cpp', |
24 '../experimental/PdfViewer/SkPdfParser.cpp', | 24 '../experimental/PdfViewer/SkPdfParser.cpp', |
25 '../experimental/PdfViewer/SkPdfUtils.cpp', | 25 '../experimental/PdfViewer/SkPdfUtils.cpp', |
26 '../experimental/PdfViewer/autogen/SkPdfPodofoMapper_autogen.cpp', | 26 '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfPodofoMapper_au
togen.cpp', |
27 '../experimental/PdfViewer/autogen/SkPdfHeaders_autogen.cpp', | 27 '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfHeaders_autogen
.cpp', |
28 ], | 28 ], |
29 'include_dirs': [ | 29 'include_dirs': [ |
30 '../third_party/externals/podofo/src/base', | 30 '../third_party/externals/podofo/src/base', |
31 '../third_party/externals/podofo/src', | 31 '../third_party/externals/podofo/src', |
32 '../third_party/externals/podofo', | 32 '../third_party/externals/podofo', |
33 '../tools', | 33 '../tools', |
34 '../experimental/PdfViewer', | 34 '../experimental/PdfViewer', |
35 '../experimental/PdfViewer/autogen', | 35 '../experimental/PdfViewer/pdfparser', |
| 36 '../experimental/PdfViewer/pdfparser/podofo', |
| 37 '../experimental/PdfViewer/pdfparser/podofo/autogen', |
| 38 #'../experimental/PdfViewer/pdfparser/native', |
| 39 #'../experimental/PdfViewer/pdfparser/native/autogen', |
36 ], | 40 ], |
37 'dependencies': [ | 41 'dependencies': [ |
38 'core.gyp:core', | 42 'core.gyp:core', |
39 'effects.gyp:effects', | 43 'effects.gyp:effects', |
40 'images.gyp:images', | 44 'images.gyp:images', |
41 'pdf.gyp:pdf', | 45 'pdf.gyp:pdf', |
42 'ports.gyp:ports', | 46 'ports.gyp:ports', |
43 'tools.gyp:picture_utils', | 47 'tools.gyp:picture_utils', |
44 '../third_party/externals/podofo/podofo.gyp:podofo', | 48 '../third_party/externals/podofo/podofo.gyp:podofo', |
45 ], | 49 ], |
(...skipping 30 matching lines...) Expand all Loading... |
76 ], | 80 ], |
77 }, | 81 }, |
78 ], | 82 ], |
79 } | 83 } |
80 | 84 |
81 # Local Variables: | 85 # Local Variables: |
82 # tab-width:2 | 86 # tab-width:2 |
83 # indent-tabs-mode:nil | 87 # indent-tabs-mode:nil |
84 # End: | 88 # End: |
85 # vim: set expandtab tabstop=2 shiftwidth=2: | 89 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |