summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-03-29 21:02:13 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-30 04:15:13 +0000
commit3de5005b3013bc7f9b62bc2153786de90a3cc285 (patch)
tree20a2514fef275a461ae1ac17a14356406f426a63 /third_party/BUILD.gn
parent75b11e43c284ff80bf49a3c1a0980353b942ff89 (diff)
downloadpdfium-3de5005b3013bc7f9b62bc2153786de90a3cc285.tar.xz
Upgrade to FreeType 2.7.1.
BUG=pdfium:601 Change-Id: I07756cd208cd2221802ff2d331f316b6618a41e0 Reviewed-on: https://pdfium-review.googlesource.com/3120 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn9
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 78afcd0860..2055821f8e 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -43,7 +43,12 @@ config("fx_freetype_warnings") {
if (is_clang) {
# open_face_PS_from_sfnt_stream() and open_face_from_buffer() in
# ftbase.h are unused.
- cflags = [ "-Wno-unused-function" ]
+ #
+ # ttgload.c casts from unsigned int to unsigned long to void*.
+ cflags = [
+ "-Wno-unused-function",
+ "-Wno-int-to-void-pointer-cast",
+ ]
}
}
@@ -96,6 +101,7 @@ static_library("fx_freetype") {
"freetype/include/freetype/internal/ftdebug.h",
"freetype/include/freetype/internal/ftdriver.h",
"freetype/include/freetype/internal/ftgloadr.h",
+ "freetype/include/freetype/internal/fthash.h",
"freetype/include/freetype/internal/ftmemory.h",
"freetype/include/freetype/internal/ftobjs.h",
"freetype/include/freetype/internal/ftpic.h",
@@ -110,6 +116,7 @@ static_library("fx_freetype") {
"freetype/include/freetype/internal/services/svfntfmt.h",
"freetype/include/freetype/internal/services/svgldict.h",
"freetype/include/freetype/internal/services/svkern.h",
+ "freetype/include/freetype/internal/services/svmetric.h",
"freetype/include/freetype/internal/services/svmm.h",
"freetype/include/freetype/internal/services/svpostnm.h",
"freetype/include/freetype/internal/services/svprop.h",