skia2/gyp/pdfviewer_lib.gyp
2015-03-25 10:22:41 -07:00

57 lines
2.1 KiB
Python

# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# GYP file to build pdfviewer.
#
# To build on Linux:
# ./gyp_skia pdfviewer.gyp && make pdfviewer
#
{
'targets': [
{
'target_name': 'pdfviewer_lib',
'type': 'static_library',
'sources': [
# FIXME: Include directory is named "inc" (instead of "include") in
# order to not be considered the public API.
'../experimental/PdfViewer/inc/SkPdfContext.h',
'../experimental/PdfViewer/inc/SkPdfDiffEncoder.h',
'../experimental/PdfViewer/inc/SkPdfRenderer.h',
'../experimental/PdfViewer/inc/SkPdfTokenLooper.h',
'../experimental/PdfViewer/src/SkPdfContext.cpp',
'../experimental/PdfViewer/src/SkPdfRenderer.cpp',
'../experimental/PdfViewer/src/SkTDStackNester.h',
'../experimental/PdfViewer/src/SkPdfDiffEncoder.cpp',
'../experimental/PdfViewer/SkPdfGraphicsState.cpp',
'../experimental/PdfViewer/SkPdfFont.cpp',
'../experimental/PdfViewer/SkPdfReporter.cpp',
'../experimental/PdfViewer/SkPdfUtils.cpp',
#'../experimental/PdfViewer/SkPdfNYI.cpp',
'../experimental/PdfViewer/SkTrackDevice.cpp',
'../experimental/PdfViewer/SkTracker.cpp',
'../experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp',
'../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp',
'../experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp',
'../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMapper_autogen.cpp',
'../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfHeaders_autogen.cpp',
],
'include_dirs': [
'../experimental/PdfViewer',
'../experimental/PdfViewer/inc',
'../experimental/PdfViewer/src',
'../experimental/PdfViewer/pdfparser',
'../experimental/PdfViewer/pdfparser/native',
'../experimental/PdfViewer/pdfparser/native/pdfapi',
'../src/core',
],
'dependencies': [
'skia_lib.gyp:skia_lib',
'skflate.gyp:skflate',
],
},
],
}