blob: f89df933a471d3749cf6b9603760d4a64b24974f [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',
borenet@google.comefb1d772012-10-10 19:45:51 +00005 'product_name': 'skia_pdf',
epoger@google.comae85aea2011-05-31 13:50:51 +00006 'type': 'static_library',
borenet@google.comefb1d772012-10-10 19:45:51 +00007 'standalone_static_library': 1,
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +00008 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +00009 'skia_lib.gyp:skia_lib',
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000010 'zlib.gyp:zlib',
11 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000012 'include_dirs': [
13 '../include/config',
14 '../include/core',
edisonn@google.com6addb192013-04-02 15:33:08 +000015 '../include/images',
epoger@google.comae85aea2011-05-31 13:50:51 +000016 '../include/pdf',
17 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000018 '../src/utils', # needed to get SkBitSet.h
epoger@google.comae85aea2011-05-31 13:50:51 +000019 ],
20 'sources': [
epoger@google.comae85aea2011-05-31 13:50:51 +000021 '../include/pdf/SkPDFDevice.h',
22 '../include/pdf/SkPDFDocument.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000023
24 '../src/pdf/SkPDFCatalog.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000025 '../src/pdf/SkPDFCatalog.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000026 '../src/pdf/SkPDFDevice.cpp',
27 '../src/pdf/SkPDFDocument.cpp',
28 '../src/pdf/SkPDFFont.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000029 '../src/pdf/SkPDFFont.h',
vandebo@chromium.org98594282011-07-25 22:34:12 +000030 '../src/pdf/SkPDFFontImpl.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000031 '../src/pdf/SkPDFFormXObject.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000032 '../src/pdf/SkPDFFormXObject.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000033 '../src/pdf/SkPDFGraphicState.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000034 '../src/pdf/SkPDFGraphicState.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000035 '../src/pdf/SkPDFImage.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000036 '../src/pdf/SkPDFImage.h',
edisonn@google.comd9dfa182013-04-24 13:01:01 +000037 '../src/pdf/SkPDFImageStream.cpp',
38 '../src/pdf/SkPDFImageStream.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000039 '../src/pdf/SkPDFPage.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000040 '../src/pdf/SkPDFPage.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000041 '../src/pdf/SkPDFShader.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000042 '../src/pdf/SkPDFShader.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000043 '../src/pdf/SkPDFStream.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000044 '../src/pdf/SkPDFStream.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000045 '../src/pdf/SkPDFTypes.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000046 '../src/pdf/SkPDFTypes.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000047 '../src/pdf/SkPDFUtils.cpp',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000048 '../src/pdf/SkPDFUtils.h',
edisonn@google.com6addb192013-04-02 15:33:08 +000049 '../src/pdf/SkTSet.h',
reed@google.com99ac02b2013-06-07 20:30:16 +000050
51 '../src/doc/SkDocument_PDF.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000052 ],
epoger@google.comdcab3a12011-06-24 19:09:09 +000053 # This section makes all targets that depend on this target
54 # #define SK_SUPPORT_PDF and have access to the pdf header files.
epoger@google.comae85aea2011-05-31 13:50:51 +000055 'direct_dependent_settings': {
epoger@google.comdcab3a12011-06-24 19:09:09 +000056 'defines': [
57 'SK_SUPPORT_PDF',
58 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000059 'include_dirs': [
60 '../include/pdf',
61 ],
62 },
epoger@google.comae85aea2011-05-31 13:50:51 +000063 },
64 ],
65}
66
67# Local Variables:
68# tab-width:2
69# indent-tabs-mode:nil
70# End:
71# vim: set expandtab tabstop=2 shiftwidth=2: