blob: e7b0369a47398d6bad07e3a42e854ec7f64b78c9 [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': [
epoger@google.comae85aea2011-05-31 13:50:51 +000020 '../include/pdf/SkPDFDevice.h',
21 '../include/pdf/SkPDFDocument.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000022
23 '../src/pdf/SkPDFCatalog.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000024 '../src/pdf/SkPDFCatalog.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000025 '../src/pdf/SkPDFDevice.cpp',
26 '../src/pdf/SkPDFDocument.cpp',
27 '../src/pdf/SkPDFFont.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000028 '../src/pdf/SkPDFFont.h',
vandebo@chromium.org98594282011-07-25 22:34:12 +000029 '../src/pdf/SkPDFFontImpl.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000030 '../src/pdf/SkPDFFormXObject.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000031 '../src/pdf/SkPDFFormXObject.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000032 '../src/pdf/SkPDFGraphicState.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000033 '../src/pdf/SkPDFGraphicState.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000034 '../src/pdf/SkPDFImage.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000035 '../src/pdf/SkPDFImage.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000036 '../src/pdf/SkPDFPage.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000037 '../src/pdf/SkPDFPage.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000038 '../src/pdf/SkPDFShader.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000039 '../src/pdf/SkPDFShader.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000040 '../src/pdf/SkPDFStream.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000041 '../src/pdf/SkPDFStream.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000042 '../src/pdf/SkPDFTypes.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000043 '../src/pdf/SkPDFTypes.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000044 '../src/pdf/SkPDFUtils.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000045 '../src/pdf/SkPDFUtils.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000046 ],
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: