blob: 8281732056f25e6fe51dbb806b9cf4fc0c671279 [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
commit-bot@chromium.org5e009892013-10-14 13:42:12 +000018 '../src/pdf',
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000019 '../src/utils', # needed to get SkBitSet.h
epoger@google.comae85aea2011-05-31 13:50:51 +000020 ],
21 'sources': [
commit-bot@chromium.org7e5d1862013-08-04 15:09:23 +000022 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
robertphillips@google.com62aa8d62013-08-26 13:47:20 +000023
24 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file
epoger@google.comae85aea2011-05-31 13:50:51 +000025 ],
epoger@google.comdcab3a12011-06-24 19:09:09 +000026 # This section makes all targets that depend on this target
27 # #define SK_SUPPORT_PDF and have access to the pdf header files.
epoger@google.comae85aea2011-05-31 13:50:51 +000028 'direct_dependent_settings': {
epoger@google.comdcab3a12011-06-24 19:09:09 +000029 'defines': [
30 'SK_SUPPORT_PDF',
31 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000032 'include_dirs': [
33 '../include/pdf',
34 ],
35 },
epoger@google.comae85aea2011-05-31 13:50:51 +000036 },
37 ],
38}