edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +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 | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 7 | 'targets': [ |
| 8 | { |
| 9 | 'target_name': 'pdfviewer_lib', |
| 10 | 'type': 'static_library', |
| 11 | 'sources': [ |
scroggo@google.com | 9092289 | 2013-11-14 19:09:27 +0000 | [diff] [blame] | 12 | # FIXME: Include directory is named "inc" (instead of "include") in |
| 13 | # order to not be considered the public API. |
scroggo@google.com | d906702 | 2013-11-20 22:33:39 +0000 | [diff] [blame] | 14 | '../experimental/PdfViewer/inc/SkPdfContext.h', |
scroggo@google.com | 5092adc | 2013-12-02 20:22:31 +0000 | [diff] [blame] | 15 | '../experimental/PdfViewer/inc/SkPdfDiffEncoder.h', |
scroggo@google.com | 9092289 | 2013-11-14 19:09:27 +0000 | [diff] [blame] | 16 | '../experimental/PdfViewer/inc/SkPdfRenderer.h', |
scroggo@google.com | bf64261 | 2013-11-20 23:12:25 +0000 | [diff] [blame] | 17 | '../experimental/PdfViewer/inc/SkPdfTokenLooper.h', |
scroggo@google.com | 0daf00c | 2013-11-20 20:47:21 +0000 | [diff] [blame] | 18 | |
scroggo@google.com | d906702 | 2013-11-20 22:33:39 +0000 | [diff] [blame] | 19 | '../experimental/PdfViewer/src/SkPdfContext.cpp', |
scroggo@google.com | 9092289 | 2013-11-14 19:09:27 +0000 | [diff] [blame] | 20 | '../experimental/PdfViewer/src/SkPdfRenderer.cpp', |
scroggo@google.com | 0daf00c | 2013-11-20 20:47:21 +0000 | [diff] [blame] | 21 | '../experimental/PdfViewer/src/SkTDStackNester.h', |
scroggo@google.com | 5092adc | 2013-12-02 20:22:31 +0000 | [diff] [blame] | 22 | '../experimental/PdfViewer/src/SkPdfDiffEncoder.cpp', |
scroggo@google.com | 9092289 | 2013-11-14 19:09:27 +0000 | [diff] [blame] | 23 | |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 24 | '../experimental/PdfViewer/SkPdfGraphicsState.cpp', |
| 25 | '../experimental/PdfViewer/SkPdfFont.cpp', |
edisonn@google.com | af54a51 | 2013-09-13 19:33:42 +0000 | [diff] [blame] | 26 | '../experimental/PdfViewer/SkPdfReporter.cpp', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 27 | '../experimental/PdfViewer/SkPdfUtils.cpp', |
| 28 | #'../experimental/PdfViewer/SkPdfNYI.cpp', |
| 29 | '../experimental/PdfViewer/SkTrackDevice.cpp', |
| 30 | '../experimental/PdfViewer/SkTracker.cpp', |
| 31 | '../experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp', |
| 32 | '../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp', |
| 33 | '../experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp', |
edisonn@google.com | 8cee797 | 2013-08-20 18:56:49 +0000 | [diff] [blame] | 34 | '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMapper_autogen.cpp', |
| 35 | '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfHeaders_autogen.cpp', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 36 | ], |
| 37 | 'include_dirs': [ |
| 38 | '../experimental/PdfViewer', |
scroggo@google.com | 9092289 | 2013-11-14 19:09:27 +0000 | [diff] [blame] | 39 | '../experimental/PdfViewer/inc', |
scroggo@google.com | 0daf00c | 2013-11-20 20:47:21 +0000 | [diff] [blame] | 40 | '../experimental/PdfViewer/src', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 41 | '../experimental/PdfViewer/pdfparser', |
| 42 | '../experimental/PdfViewer/pdfparser/native', |
edisonn@google.com | 8cee797 | 2013-08-20 18:56:49 +0000 | [diff] [blame] | 43 | '../experimental/PdfViewer/pdfparser/native/pdfapi', |
reed | 859b924 | 2014-06-17 09:04:45 -0700 | [diff] [blame] | 44 | '../src/core', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 45 | ], |
| 46 | 'dependencies': [ |
| 47 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 48 | 'skflate.gyp:skflate', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 49 | ], |
| 50 | }, |
| 51 | ], |
| 52 | } |