37c46cad21
Motivation: Keep separate features separate. Also, future linearization work will need to have several objNumMap objects share a substituteMap. Also "catalog" has a specific meaning in PDF. This catalog did not map to that catalog. - Modify SkPDFObject::emitObject and SkPDFObject::addResources interface to requiore SkPDFObjNumMap and SkPDFSubstituteMap. - SkPDFObjNumMap const in SkPDFObject::emitObject. - Remove SkPDFCatalog.cpp/.h - Modify SkDocument_PDF.cpp to use new functions - Fold in SkPDFStream::populate - Fold in SkPDFBitmap::emitDict - Move SkPDFObjNumMap and SkPDFSubstituteMap to SkPDFTypes.h - Note (via assert) that SkPDFArray & SkPDFDict don't need to check substitutes. - Remove extra space from SkPDFDict serialization. - SkPDFBitmap SkPDFType0Font SkPDFGraphicState SkPDFStream updated to new interface. - PDFPrimitivesTest updated for new interface. BUG=skia:3585 Review URL: https://codereview.chromium.org/1049753002
40 lines
1.5 KiB
Python
40 lines
1.5 KiB
Python
# Copyright 2015 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
# Include this gypi to include all 'pdf' files
|
|
# The parent gyp/gypi file must define
|
|
# 'skia_src_path' e.g. skia/trunk/src
|
|
# 'skia_include_path' e.g. skia/trunk/include
|
|
#
|
|
# The skia build defines these in common_variables.gypi
|
|
#
|
|
{
|
|
'sources': [
|
|
'<(skia_src_path)/doc/SkDocument_PDF.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFBitmap.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFBitmap.h',
|
|
'<(skia_src_path)/pdf/SkPDFCanon.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFCanon.h',
|
|
'<(skia_src_path)/pdf/SkPDFDevice.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFDevice.h',
|
|
'<(skia_src_path)/pdf/SkPDFFont.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFFont.h',
|
|
'<(skia_src_path)/pdf/SkPDFFontImpl.h',
|
|
'<(skia_src_path)/pdf/SkPDFFormXObject.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFFormXObject.h',
|
|
'<(skia_src_path)/pdf/SkPDFGraphicState.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFGraphicState.h',
|
|
'<(skia_src_path)/pdf/SkPDFResourceDict.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFResourceDict.h',
|
|
'<(skia_src_path)/pdf/SkPDFShader.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFShader.h',
|
|
'<(skia_src_path)/pdf/SkPDFStream.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFStream.h',
|
|
'<(skia_src_path)/pdf/SkPDFTypes.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFTypes.h',
|
|
'<(skia_src_path)/pdf/SkPDFUtils.cpp',
|
|
'<(skia_src_path)/pdf/SkPDFUtils.h',
|
|
],
|
|
}
|