diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-12-19 14:29:17 -0800 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-12-19 14:29:17 -0800 |
commit | e4fc5ced45c8fcfbe2487ec64eab036bc7d57602 (patch) | |
tree | 1889eac2d57ff76d5f0fef689a3cbdfa37a0b3f4 /third_party/third_party.gyp | |
parent | 5a35129bce7ca777e155e5498e8d4792fa6a4819 (diff) | |
download | pdfium-e4fc5ced45c8fcfbe2487ec64eab036bc7d57602.tar.xz |
Update freetype to 2.5.4.
Put freetype into third_party directory, cleaning up header files.
Previously freetype header files are in core/src/fxge/freetype and core/include/thirdparties. There were also multiple fx_freetype.h.
This patch removes the additional Foxit wrapper to make further update easier.
Notice, for original freetype source code, the following files are modified and need to be updated accordingly in future update:
third_party/freetype/include/config/ftmodule.h
third_party/freetype/include/config/ftoption.h
BUG=407341
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/815103002
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r-- | third_party/third_party.gyp | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp new file mode 100644 index 0000000000..ac7fb7792a --- /dev/null +++ b/third_party/third_party.gyp @@ -0,0 +1,77 @@ +# Copyright 2014 PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'bigint', + 'type': 'static_library', + 'sources': [ + 'bigint/BigInteger.hh', + 'bigint/BigIntegerLibrary.hh', + 'bigint/BigIntegerUtils.hh', + 'bigint/BigUnsigned.hh', + 'bigint/NumberlikeArray.hh', + 'bigint/BigUnsignedInABase.hh', + 'bigint/BigInteger.cc', + 'bigint/BigIntegerUtils.cc', + 'bigint/BigUnsigned.cc', + 'bigint/BigUnsignedInABase.cc', + ], + }, + { + 'target_name': 'freetype', + 'type': 'static_library', + 'defines': [ + 'FT2_BUILD_LIBRARY', + ], + 'include_dirs': [ + 'freetype/include', + ], + 'sources': [ + 'freetype/include/freetype.h', + 'freetype/include/ft2build.h', + 'freetype/include/ftmm.h', + 'freetype/include/ftotval.h', + 'freetype/include/ftoutln.h', + 'freetype/include/tttables.h', + 'freetype/include/internal/ftobjs.h', + 'freetype/include/internal/ftstream.h', + 'freetype/include/internal/tttypes.h', + 'freetype/src/cff/cffobjs.h', + 'freetype/src/cff/cfftypes.h', + 'freetype/src/cff/cff.c', + 'freetype/src/base/ftbase.c', + 'freetype/src/base/ftbitmap.c', + 'freetype/src/base/ftglyph.c', + 'freetype/src/base/ftinit.c', + 'freetype/src/base/ftlcdfil.c', + 'freetype/src/base/ftmm.c', + 'freetype/src/base/ftsystem.c', + 'freetype/src/psaux/psaux.c', + 'freetype/src/pshinter/pshinter.c', + 'freetype/src/psnames/psmodule.c', + 'freetype/src/raster/raster.c', + 'freetype/src/sfnt/sfnt.c', + 'freetype/src/smooth/smooth.c', + 'freetype/src/truetype/truetype.c', + 'freetype/src/type1/type1.c', + 'freetype/src/cid/type1cid.c', + ], + }, + { + 'target_name': 'safemath', + 'type': 'none', + 'sources': [ + 'logging.h', + 'macros.h', + 'template_util.h', + 'numerics/safe_conversions.h', + 'numerics/safe_conversions_impl.h', + 'numerics/safe_math.h', + 'numerics/safe_math_impl.h', + ], + }, + ], +} |