aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/pdf.gyp
blob: e7b0369a47398d6bad07e3a42e854ec7f64b78c9 (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
57
58
59
60
61
62
63
64
65
{
  'targets': [
    {
      'target_name': 'pdf',
      'type': 'static_library',
      'dependencies': [
        'core.gyp:core',
        'ports.gyp:ports',
        'utils.gyp:utils',
        'zlib.gyp:zlib',
      ],
      'include_dirs': [
        '../include/config',
        '../include/core',
        '../include/pdf',
        '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
        '../src/utils', # needed to get SkBitSet.h
      ],
      'sources': [
        '../include/pdf/SkPDFDevice.h',
        '../include/pdf/SkPDFDocument.h',

        '../src/pdf/SkPDFCatalog.cpp',
        '../src/pdf/SkPDFCatalog.h',
        '../src/pdf/SkPDFDevice.cpp',
        '../src/pdf/SkPDFDocument.cpp',
        '../src/pdf/SkPDFFont.cpp',
        '../src/pdf/SkPDFFont.h',
        '../src/pdf/SkPDFFontImpl.h',
        '../src/pdf/SkPDFFormXObject.cpp',
        '../src/pdf/SkPDFFormXObject.h',
        '../src/pdf/SkPDFGraphicState.cpp',
        '../src/pdf/SkPDFGraphicState.h',
        '../src/pdf/SkPDFImage.cpp',
        '../src/pdf/SkPDFImage.h',
        '../src/pdf/SkPDFPage.cpp',
        '../src/pdf/SkPDFPage.h',
        '../src/pdf/SkPDFShader.cpp',
        '../src/pdf/SkPDFShader.h',
        '../src/pdf/SkPDFStream.cpp',
        '../src/pdf/SkPDFStream.h',
        '../src/pdf/SkPDFTypes.cpp',
        '../src/pdf/SkPDFTypes.h',
        '../src/pdf/SkPDFUtils.cpp',
        '../src/pdf/SkPDFUtils.h',
      ],
      # This section makes all targets that depend on this target
      # #define SK_SUPPORT_PDF and have access to the pdf header files.
      'direct_dependent_settings': {
        'defines': [
          'SK_SUPPORT_PDF',
        ],
        'include_dirs': [
          '../include/pdf',
        ],
      },
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: