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': 'pdfviewer', | 15 'target_name': 'pdfviewer', |
16 'type': 'executable', | 16 'type': 'executable', |
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/pdf_viewer_main.cpp', | 22 '../experimental/PdfViewer/pdf_viewer_main.cpp', |
| 23 #'../experimental/PdfViewer/SkPdfFont.cpp', |
23 ], | 24 ], |
24 'include_dirs': [ | 25 'include_dirs': [ |
25 '../third_party/externals/podofo/src/base', | 26 '../third_party/externals/podofo/src/base', |
26 '../third_party/externals/podofo/src', | 27 '../third_party/externals/podofo/src', |
27 '../third_party/externals/podofo', | 28 '../third_party/externals/podofo', |
28 '../tools', | 29 '../tools', |
29 '../experimental/PdfViewer', | 30 '../experimental/PdfViewer', |
| 31 '../experimental/PdfViewer/autogen', |
30 ], | 32 ], |
31 'dependencies': [ | 33 'dependencies': [ |
32 'core.gyp:core', | 34 'core.gyp:core', |
33 'effects.gyp:effects', | 35 'effects.gyp:effects', |
34 'images.gyp:images', | 36 'images.gyp:images', |
35 'pdf.gyp:pdf', | 37 'pdf.gyp:pdf', |
36 'ports.gyp:ports', | 38 'ports.gyp:ports', |
37 'tools.gyp:picture_utils', | 39 'tools.gyp:picture_utils', |
38 '../third_party/externals/podofo/podofo.gyp:podofo', | 40 '../third_party/externals/podofo/podofo.gyp:podofo', |
39 ], | 41 ], |
(...skipping 21 matching lines...) Expand all Loading... |
61 }, | 63 }, |
62 ], | 64 ], |
63 ], | 65 ], |
64 } | 66 } |
65 | 67 |
66 # Local Variables: | 68 # Local Variables: |
67 # tab-width:2 | 69 # tab-width:2 |
68 # indent-tabs-mode:nil | 70 # indent-tabs-mode:nil |
69 # End: | 71 # End: |
70 # vim: set expandtab tabstop=2 shiftwidth=2: | 72 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |