aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/pdfviewer_lib.gyp
blob: 0d4c0bd2ed6485ed4a2cfa5e2c2b36131bcc76d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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',
      ],
    },
  ],
}