1 # GYP file to build pdfviewer. 2 # 3 # To build on Linux: 4 # ./gyp_skia pdfviewer.gyp && make pdfviewer 5 # 6 { 7 'targets': [ 8 { 9 'target_name': 'pdfviewer_lib', 10 'type': 'static_library', 11 'sources': [ 12 # FIXME: Include directory is named "inc" (instead of "include") in 13 # order to not be considered the public API. 14 '../experimental/PdfViewer/inc/SkPdfContext.h', 15 '../experimental/PdfViewer/inc/SkPdfDiffEncoder.h', 16 '../experimental/PdfViewer/inc/SkPdfRenderer.h', 17 '../experimental/PdfViewer/inc/SkPdfTokenLooper.h', 18 19 '../experimental/PdfViewer/src/SkPdfContext.cpp', 20 '../experimental/PdfViewer/src/SkPdfRenderer.cpp', 21 '../experimental/PdfViewer/src/SkTDStackNester.h', 22 '../experimental/PdfViewer/src/SkPdfDiffEncoder.cpp', 23 24 '../experimental/PdfViewer/SkPdfGraphicsState.cpp', 25 '../experimental/PdfViewer/SkPdfFont.cpp', 26 '../experimental/PdfViewer/SkPdfReporter.cpp', 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', 34 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMapper_autogen.cpp', 35 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfHeaders_autogen.cpp', 36 ], 37 'include_dirs': [ 38 '../experimental/PdfViewer', 39 '../experimental/PdfViewer/inc', 40 '../experimental/PdfViewer/src', 41 '../experimental/PdfViewer/pdfparser', 42 '../experimental/PdfViewer/pdfparser/native', 43 '../experimental/PdfViewer/pdfparser/native/pdfapi', 44 ], 45 'dependencies': [ 46 'skia_lib.gyp:skia_lib', 47 'zlib.gyp:zlib', 48 ], 49 }, 50 ], 51 } 52