blob: 0ac8d45a51189296db270c00d3fc8caef94093ef [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 ],
commit-bot@chromium.org7e5d1862013-08-04 15:09:23 +000012 'includes': [
13 'pdf.gypi',
14 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000015 'include_dirs': [
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': [
commit-bot@chromium.org7e5d1862013-08-04 15:09:23 +000021 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
robertphillips@google.com62aa8d62013-08-26 13:47:20 +000022
23 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file
epoger@google.comae85aea2011-05-31 13:50:51 +000024 ],
epoger@google.comdcab3a12011-06-24 19:09:09 +000025 # This section makes all targets that depend on this target
26 # #define SK_SUPPORT_PDF and have access to the pdf header files.
epoger@google.comae85aea2011-05-31 13:50:51 +000027 'direct_dependent_settings': {
epoger@google.comdcab3a12011-06-24 19:09:09 +000028 'defines': [
29 'SK_SUPPORT_PDF',
30 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000031 'include_dirs': [
32 '../include/pdf',
33 ],
34 },
epoger@google.comae85aea2011-05-31 13:50:51 +000035 },
36 ],
37}
38
39# Local Variables:
40# tab-width:2
41# indent-tabs-mode:nil
42# End:
43# vim: set expandtab tabstop=2 shiftwidth=2: