blob: bb42f00d30603686b72e12e42a46d0917267fe6e [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
epoger@google.comae85aea2011-05-31 13:50:51 +00002 'targets': [
3 {
4 'target_name': 'pdf',
5 'type': 'static_library',
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +00006 'dependencies': [
7 'core.gyp:core',
8 'ports.gyp:ports',
9 'utils.gyp:utils',
10 'zlib.gyp:zlib',
11 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000012 'include_dirs': [
13 '../include/config',
14 '../include/core',
15 '../include/pdf',
16 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000017 '../src/utils', # needed to get SkBitSet.h
epoger@google.comae85aea2011-05-31 13:50:51 +000018 ],
19 'sources': [
20 '../include/pdf/SkPDFCatalog.h',
21 '../include/pdf/SkPDFDevice.h',
22 '../include/pdf/SkPDFDocument.h',
23 '../include/pdf/SkPDFFont.h',
24 '../include/pdf/SkPDFFormXObject.h',
25 '../include/pdf/SkPDFGraphicState.h',
26 '../include/pdf/SkPDFImage.h',
27 '../include/pdf/SkPDFPage.h',
28 '../include/pdf/SkPDFShader.h',
29 '../include/pdf/SkPDFStream.h',
30 '../include/pdf/SkPDFTypes.h',
31 '../include/pdf/SkPDFUtils.h',
32
33 '../src/pdf/SkPDFCatalog.cpp',
34 '../src/pdf/SkPDFDevice.cpp',
35 '../src/pdf/SkPDFDocument.cpp',
36 '../src/pdf/SkPDFFont.cpp',
vandebo@chromium.org98594282011-07-25 22:34:12 +000037 '../src/pdf/SkPDFFontImpl.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000038 '../src/pdf/SkPDFFormXObject.cpp',
39 '../src/pdf/SkPDFGraphicState.cpp',
40 '../src/pdf/SkPDFImage.cpp',
41 '../src/pdf/SkPDFPage.cpp',
42 '../src/pdf/SkPDFShader.cpp',
43 '../src/pdf/SkPDFStream.cpp',
44 '../src/pdf/SkPDFTypes.cpp',
45 '../src/pdf/SkPDFUtils.cpp',
46 ],
epoger@google.comdcab3a12011-06-24 19:09:09 +000047 # This section makes all targets that depend on this target
48 # #define SK_SUPPORT_PDF and have access to the pdf header files.
epoger@google.comae85aea2011-05-31 13:50:51 +000049 'direct_dependent_settings': {
epoger@google.comdcab3a12011-06-24 19:09:09 +000050 'defines': [
51 'SK_SUPPORT_PDF',
52 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000053 'include_dirs': [
54 '../include/pdf',
55 ],
56 },
epoger@google.comae85aea2011-05-31 13:50:51 +000057 },
58 ],
59}
60
61# Local Variables:
62# tab-width:2
63# indent-tabs-mode:nil
64# End:
65# vim: set expandtab tabstop=2 shiftwidth=2: