1# Copyright 2015 Google Inc. 2# 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5# GYP file to build pdfviewer. 6# 7# To build on Linux: 8# ./gyp_skia pdfviewer.gyp && make pdfviewer 9# 10{ 11 'targets': [ 12 { 13 'target_name': 'pdfviewer_lib', 14 'type': 'static_library', 15 'sources': [ 16 # FIXME: Include directory is named "inc" (instead of "include") in 17 # order to not be considered the public API. 18 '../experimental/PdfViewer/inc/SkPdfContext.h', 19 '../experimental/PdfViewer/inc/SkPdfDiffEncoder.h', 20 '../experimental/PdfViewer/inc/SkPdfRenderer.h', 21 '../experimental/PdfViewer/inc/SkPdfTokenLooper.h', 22 23 '../experimental/PdfViewer/src/SkPdfContext.cpp', 24 '../experimental/PdfViewer/src/SkPdfRenderer.cpp', 25 '../experimental/PdfViewer/src/SkTDStackNester.h', 26 '../experimental/PdfViewer/src/SkPdfDiffEncoder.cpp', 27 28 '../experimental/PdfViewer/SkPdfGraphicsState.cpp', 29 '../experimental/PdfViewer/SkPdfFont.cpp', 30 '../experimental/PdfViewer/SkPdfReporter.cpp', 31 '../experimental/PdfViewer/SkPdfUtils.cpp', 32 #'../experimental/PdfViewer/SkPdfNYI.cpp', 33 '../experimental/PdfViewer/SkTrackDevice.cpp', 34 '../experimental/PdfViewer/SkTracker.cpp', 35 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp', 36 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp', 37 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp', 38 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMapper_autogen.cpp', 39 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfHeaders_autogen.cpp', 40 ], 41 'include_dirs': [ 42 '../experimental/PdfViewer', 43 '../experimental/PdfViewer/inc', 44 '../experimental/PdfViewer/src', 45 '../experimental/PdfViewer/pdfparser', 46 '../experimental/PdfViewer/pdfparser/native', 47 '../experimental/PdfViewer/pdfparser/native/pdfapi', 48 '../src/core', 49 ], 50 'dependencies': [ 51 'skia_lib.gyp:skia_lib', 52 'skflate.gyp:skflate', 53 ], 54 }, 55 ], 56} 57