skia2/gyp/pdf.gyp
epoger@google.com aa3b6a965e Make all gyp targets automatically include common.gypi
Do this, rather than including common.gypi explicitly in all our gyp files, so that gyp files we use but do not maintain (e.g., third_party/externals/libjpeg/libjpeg.gyp) will include common.gypi too.
Review URL: https://codereview.appspot.com/5820068

git-svn-id: http://skia.googlecode.com/svn/trunk@3411 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-16 13:52:49 +00:00

64 lines
1.8 KiB
Python

{
'targets': [
{
'target_name': 'pdf',
'type': 'static_library',
'include_dirs': [
'../include/config',
'../include/core',
'../include/pdf',
'../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
],
'sources': [
'../include/pdf/SkBitSet.h',
'../include/pdf/SkPDFCatalog.h',
'../include/pdf/SkPDFDevice.h',
'../include/pdf/SkPDFDocument.h',
'../include/pdf/SkPDFFont.h',
'../include/pdf/SkPDFFormXObject.h',
'../include/pdf/SkPDFGraphicState.h',
'../include/pdf/SkPDFImage.h',
'../include/pdf/SkPDFPage.h',
'../include/pdf/SkPDFShader.h',
'../include/pdf/SkPDFStream.h',
'../include/pdf/SkPDFTypes.h',
'../include/pdf/SkPDFUtils.h',
'../src/pdf/SkBitSet.cpp',
'../src/pdf/SkPDFCatalog.cpp',
'../src/pdf/SkPDFDevice.cpp',
'../src/pdf/SkPDFDocument.cpp',
'../src/pdf/SkPDFFont.cpp',
'../src/pdf/SkPDFFontImpl.h',
'../src/pdf/SkPDFFormXObject.cpp',
'../src/pdf/SkPDFGraphicState.cpp',
'../src/pdf/SkPDFImage.cpp',
'../src/pdf/SkPDFPage.cpp',
'../src/pdf/SkPDFShader.cpp',
'../src/pdf/SkPDFStream.cpp',
'../src/pdf/SkPDFTypes.cpp',
'../src/pdf/SkPDFUtils.cpp',
],
# This section makes all targets that depend on this target
# #define SK_SUPPORT_PDF and have access to the pdf header files.
'direct_dependent_settings': {
'defines': [
'SK_SUPPORT_PDF',
],
'include_dirs': [
'../include/pdf',
],
},
'dependencies': [
'zlib.gyp:zlib',
],
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: