blob: a0a142ceda64b0c3349b31f0e5559efa05338c00 [file] [log] [blame]
edisonn@google.com63ce82f2013-08-16 16:13:44 +00001# GYP file to build pdfviewer.
2#
3# To build on Linux:
4# ./gyp_skia pdfviewer.gyp && make pdfviewer
5#
6{
edisonn@google.com63ce82f2013-08-16 16:13:44 +00007 'targets': [
8 {
9 'target_name': 'pdfviewer_lib',
10 'type': 'static_library',
11 'sources': [
scroggo@google.com90922892013-11-14 19:09:27 +000012 # FIXME: Include directory is named "inc" (instead of "include") in
13 # order to not be considered the public API.
scroggo@google.comd9067022013-11-20 22:33:39 +000014 '../experimental/PdfViewer/inc/SkPdfContext.h',
scroggo@google.com5092adc2013-12-02 20:22:31 +000015 '../experimental/PdfViewer/inc/SkPdfDiffEncoder.h',
scroggo@google.com90922892013-11-14 19:09:27 +000016 '../experimental/PdfViewer/inc/SkPdfRenderer.h',
scroggo@google.combf642612013-11-20 23:12:25 +000017 '../experimental/PdfViewer/inc/SkPdfTokenLooper.h',
scroggo@google.com0daf00c2013-11-20 20:47:21 +000018
scroggo@google.comd9067022013-11-20 22:33:39 +000019 '../experimental/PdfViewer/src/SkPdfContext.cpp',
scroggo@google.com90922892013-11-14 19:09:27 +000020 '../experimental/PdfViewer/src/SkPdfRenderer.cpp',
scroggo@google.com0daf00c2013-11-20 20:47:21 +000021 '../experimental/PdfViewer/src/SkTDStackNester.h',
scroggo@google.com5092adc2013-12-02 20:22:31 +000022 '../experimental/PdfViewer/src/SkPdfDiffEncoder.cpp',
scroggo@google.com90922892013-11-14 19:09:27 +000023
edisonn@google.com63ce82f2013-08-16 16:13:44 +000024 '../experimental/PdfViewer/SkPdfGraphicsState.cpp',
25 '../experimental/PdfViewer/SkPdfFont.cpp',
edisonn@google.comaf54a512013-09-13 19:33:42 +000026 '../experimental/PdfViewer/SkPdfReporter.cpp',
edisonn@google.com63ce82f2013-08-16 16:13:44 +000027 '../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.com8cee7972013-08-20 18:56:49 +000034 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMapper_autogen.cpp',
35 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfHeaders_autogen.cpp',
edisonn@google.com63ce82f2013-08-16 16:13:44 +000036 ],
37 'include_dirs': [
38 '../experimental/PdfViewer',
scroggo@google.com90922892013-11-14 19:09:27 +000039 '../experimental/PdfViewer/inc',
scroggo@google.com0daf00c2013-11-20 20:47:21 +000040 '../experimental/PdfViewer/src',
edisonn@google.com63ce82f2013-08-16 16:13:44 +000041 '../experimental/PdfViewer/pdfparser',
42 '../experimental/PdfViewer/pdfparser/native',
edisonn@google.com8cee7972013-08-20 18:56:49 +000043 '../experimental/PdfViewer/pdfparser/native/pdfapi',
edisonn@google.com63ce82f2013-08-16 16:13:44 +000044 ],
45 'dependencies': [
46 'skia_lib.gyp:skia_lib',
47 'zlib.gyp:zlib',
48 ],
49 },
50 ],
51}