pdf.gyp revision 1cab2921ab279367f8206cdadc9259d12e603548
1{
2  'includes': [
3    'common.gypi',
4  ],
5  'targets': [
6    {
7      'target_name': 'pdf',
8      'type': 'static_library',
9      'include_dirs': [
10        '../include/config',
11        '../include/core',
12        '../include/pdf',
13        '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
14      ],
15      'sources': [
16        '../include/pdf/SkBitSet.h',
17        '../include/pdf/SkPDFCatalog.h',
18        '../include/pdf/SkPDFDevice.h',
19        '../include/pdf/SkPDFDocument.h',
20        '../include/pdf/SkPDFFont.h',
21        '../include/pdf/SkPDFFormXObject.h',
22        '../include/pdf/SkPDFGraphicState.h',
23        '../include/pdf/SkPDFImage.h',
24        '../include/pdf/SkPDFPage.h',
25        '../include/pdf/SkPDFShader.h',
26        '../include/pdf/SkPDFStream.h',
27        '../include/pdf/SkPDFTypes.h',
28        '../include/pdf/SkPDFUtils.h',
29
30        '../src/pdf/SkBitSet.cpp',
31        '../src/pdf/SkPDFCatalog.cpp',
32        '../src/pdf/SkPDFDevice.cpp',
33        '../src/pdf/SkPDFDocument.cpp',
34        '../src/pdf/SkPDFFont.cpp',
35        '../src/pdf/SkPDFFontImpl.h',
36        '../src/pdf/SkPDFFormXObject.cpp',
37        '../src/pdf/SkPDFGraphicState.cpp',
38        '../src/pdf/SkPDFImage.cpp',
39        '../src/pdf/SkPDFPage.cpp',
40        '../src/pdf/SkPDFShader.cpp',
41        '../src/pdf/SkPDFStream.cpp',
42        '../src/pdf/SkPDFTypes.cpp',
43        '../src/pdf/SkPDFUtils.cpp',
44      ],
45      # This section makes all targets that depend on this target
46      # #define SK_SUPPORT_PDF and have access to the pdf header files.
47      'direct_dependent_settings': {
48        'defines': [
49          'SK_SUPPORT_PDF',
50        ],
51        'include_dirs': [
52          '../include/pdf',
53        ],
54      },
55      'dependencies': [
56        'zlib.gyp:zlib',
57      ],
58    },
59  ],
60}
61
62# Local Variables:
63# tab-width:2
64# indent-tabs-mode:nil
65# End:
66# vim: set expandtab tabstop=2 shiftwidth=2:
67