2011-05-31 13:50:51 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'pdf',
|
2012-10-10 19:45:51 +00:00
|
|
|
'product_name': 'skia_pdf',
|
2011-05-31 13:50:51 +00:00
|
|
|
'type': 'static_library',
|
2012-10-10 19:45:51 +00:00
|
|
|
'standalone_static_library': 1,
|
2012-03-21 23:11:46 +00:00
|
|
|
'dependencies': [
|
2013-06-03 12:10:19 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2012-03-21 23:11:46 +00:00
|
|
|
'zlib.gyp:zlib',
|
|
|
|
],
|
2013-08-04 15:09:23 +00:00
|
|
|
'includes': [
|
|
|
|
'pdf.gypi',
|
|
|
|
],
|
2011-05-31 13:50:51 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../include/pdf',
|
|
|
|
'../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
|
2012-03-21 23:11:46 +00:00
|
|
|
'../src/utils', # needed to get SkBitSet.h
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2013-08-04 15:09:23 +00:00
|
|
|
'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
|
2013-08-26 13:47:20 +00:00
|
|
|
|
|
|
|
'../src/doc/SkDocument_PDF.cpp', # Chromium does use this file
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
2011-06-24 19:09:09 +00:00
|
|
|
# This section makes all targets that depend on this target
|
|
|
|
# #define SK_SUPPORT_PDF and have access to the pdf header files.
|
2011-05-31 13:50:51 +00:00
|
|
|
'direct_dependent_settings': {
|
2011-06-24 19:09:09 +00:00
|
|
|
'defines': [
|
|
|
|
'SK_SUPPORT_PDF',
|
|
|
|
],
|
2011-05-31 13:50:51 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../include/pdf',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|