OLD | NEW |
(Empty) | |
| 1 # GYP file to build pdfviewer. |
| 2 # |
| 3 # To build on Linux: |
| 4 # ./gyp_skia pdfviewer.gyp && make pdfviewer |
| 5 # |
| 6 { |
| 7 'variables': { |
| 8 'skia_warnings_as_errors': 0, |
| 9 }, |
| 10 'includes': [ |
| 11 'apptype_console.gypi', |
| 12 ], |
| 13 'targets': [ |
| 14 { |
| 15 'target_name': 'pdfviewer', |
| 16 'type': 'executable', |
| 17 'cflags': ['-fexceptions'], |
| 18 'cflags_cc': ['-fexceptions'], |
| 19 'cflags!': [ '-fno-exceptions' ], |
| 20 'cflags_cc!': [ '-fno-exceptions' ], |
| 21 'sources': [ |
| 22 '../experimental/PdfViewer/pdf_viewer_main.cpp', |
| 23 ], |
| 24 'include_dirs': [ |
| 25 '../third_party/externals/podofo/src/base', |
| 26 '../third_party/externals/podofo/src', |
| 27 '../third_party/externals/podofo', |
| 28 '../tools', |
| 29 '../experimental/PdfViewer', |
| 30 ], |
| 31 'dependencies': [ |
| 32 'core.gyp:core', |
| 33 'effects.gyp:effects', |
| 34 'images.gyp:images', |
| 35 'pdf.gyp:pdf', |
| 36 'ports.gyp:ports', |
| 37 'tools.gyp:picture_utils', |
| 38 '../third_party/externals/podofo/podofo.gyp:podofo', |
| 39 ], |
| 40 'link_settings': { |
| 41 'libraries': [ |
| 42 ], |
| 43 }, |
| 44 'defines': [ |
| 45 'BUILDING_PODOFO', |
| 46 ], |
| 47 }, |
| 48 ], |
| 49 'conditions': [ |
| 50 ['skia_os == "win"', |
| 51 { |
| 52 'targets': [ |
| 53 { |
| 54 'target_name': 'win_lcid', |
| 55 'type': 'executable', |
| 56 'sources': [ |
| 57 '../tools/win_lcid.cpp', |
| 58 ], |
| 59 }, |
| 60 ], |
| 61 }, |
| 62 ], |
| 63 ], |
| 64 } |
| 65 |
| 66 # Local Variables: |
| 67 # tab-width:2 |
| 68 # indent-tabs-mode:nil |
| 69 # End: |
| 70 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |