blob: f0c6b47e1fba6dde00f20831d223241cc0a68fbc [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
2 'includes': [
epoger@google.com5351b372011-07-01 17:16:26 +00003 'common.gypi',
epoger@google.comae85aea2011-05-31 13:50:51 +00004 ],
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': [
vandebo@chromium.orgd3a8c942011-07-02 01:26:37 +000016 '../include/pdf/SkBitSet.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000017 '../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
vandebo@chromium.org98594282011-07-25 22:34:12 +000030 '../src/pdf/SkBitSet.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000031 '../src/pdf/SkPDFCatalog.cpp',
32 '../src/pdf/SkPDFDevice.cpp',
33 '../src/pdf/SkPDFDocument.cpp',
34 '../src/pdf/SkPDFFont.cpp',
vandebo@chromium.org98594282011-07-25 22:34:12 +000035 '../src/pdf/SkPDFFontImpl.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000036 '../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 ],
epoger@google.comdcab3a12011-06-24 19:09:09 +000045 # This section makes all targets that depend on this target
46 # #define SK_SUPPORT_PDF and have access to the pdf header files.
epoger@google.comae85aea2011-05-31 13:50:51 +000047 'direct_dependent_settings': {
epoger@google.comdcab3a12011-06-24 19:09:09 +000048 'defines': [
49 'SK_SUPPORT_PDF',
50 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000051 'include_dirs': [
52 '../include/pdf',
53 ],
54 },
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +000055 'dependencies': [
56 'zlib.gyp:zlib',
57 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000058 },
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: