edisonn@google.com | 01cd4d5 | 2013-06-10 20:44:45 +0000 | [diff] [blame] | 1 | # GYP file to build pdfviewer. |
| 2 | # |
| 3 | # To build on Linux: |
| 4 | # ./gyp_skia pdfviewer.gyp && make pdfviewer |
| 5 | # |
| 6 | { |
edisonn@google.com | 01cd4d5 | 2013-06-10 20:44:45 +0000 | [diff] [blame] | 7 | 'includes': [ |
| 8 | 'apptype_console.gypi', |
| 9 | ], |
| 10 | 'targets': [ |
| 11 | { |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 12 | 'target_name': 'pdfviewer', |
| 13 | 'type': 'executable', |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 14 | 'sources': [ |
| 15 | '../experimental/PdfViewer/pdf_viewer_main.cpp', |
| 16 | ], |
| 17 | 'include_dirs': [ |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 18 | '../experimental/PdfViewer', |
edisonn@google.com | 3aac1f9 | 2013-07-02 22:42:53 +0000 | [diff] [blame] | 19 | '../experimental/PdfViewer/pdfparser', |
edisonn@google.com | 571c70b | 2013-07-10 17:09:50 +0000 | [diff] [blame] | 20 | '../experimental/PdfViewer/pdfparser/native', |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 21 | ], |
| 22 | 'dependencies': [ |
edisonn@google.com | 5149bd9 | 2013-08-05 17:26:11 +0000 | [diff] [blame] | 23 | 'chop_transparency', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 24 | 'flags.gyp:flags', |
| 25 | 'pdfviewer_lib.gyp:pdfviewer_lib', |
| 26 | 'skia_lib.gyp:skia_lib', |
edisonn@google.com | 5149bd9 | 2013-08-05 17:26:11 +0000 | [diff] [blame] | 27 | ], |
| 28 | }, |
| 29 | { |
| 30 | 'target_name': 'chop_transparency', |
| 31 | 'type': 'executable', |
| 32 | 'sources': [ |
| 33 | '../experimental/PdfViewer/chop_transparency_main.cpp', |
| 34 | ], |
| 35 | 'include_dirs': [ |
| 36 | # For SkBitmapHasher.h |
| 37 | '../src/utils/', |
| 38 | ], |
| 39 | 'dependencies': [ |
edisonn@google.com | 5149bd9 | 2013-08-05 17:26:11 +0000 | [diff] [blame] | 40 | 'flags.gyp:flags', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 41 | 'skia_lib.gyp:skia_lib', |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 42 | ], |
| 43 | }, |
skia.committer@gmail.com | 7fb5373 | 2013-06-11 07:01:17 +0000 | [diff] [blame] | 44 | ], |
edisonn@google.com | 01cd4d5 | 2013-06-10 20:44:45 +0000 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | # Local Variables: |
| 48 | # tab-width:2 |
| 49 | # indent-tabs-mode:nil |
| 50 | # End: |
| 51 | # vim: set expandtab tabstop=2 shiftwidth=2: |