From c3532457d457e868afb8506e047ab353f2651bc0 Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Tue, 19 Dec 2017 23:07:45 +0000 Subject: Fix use_system_freetype=true build when third_party/freetype is missing BUG=pdfium:733 R=thestig@chromium.org Change-Id: I6beab792c0b8cb0d0e4f5ea8c6e6c3138ccade5f Reviewed-on: https://pdfium-review.googlesource.com/21470 Commit-Queue: Lei Zhang Reviewed-by: Lei Zhang --- core/fxge/freetype/DEPS | 3 ++- core/fxge/freetype/fx_freetype.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'core/fxge') diff --git a/core/fxge/freetype/DEPS b/core/fxge/freetype/DEPS index 38478a5b4a..a942c27741 100644 --- a/core/fxge/freetype/DEPS +++ b/core/fxge/freetype/DEPS @@ -1,3 +1,4 @@ include_rules = [ - '+third_party/freetype/src/src' + '+third_party/freetype/include', + '+third_party/freetype/src/src', ] diff --git a/core/fxge/freetype/fx_freetype.cpp b/core/fxge/freetype/fx_freetype.cpp index 0ae207b021..b0f56ab66c 100644 --- a/core/fxge/freetype/fx_freetype.cpp +++ b/core/fxge/freetype/fx_freetype.cpp @@ -6,7 +6,7 @@ #include "core/fxge/fx_freetype.h" -#include "third_party/freetype/src/src/psnames/pstables.h" +#include "third_party/freetype/include/pstables.h" static int xyq_search_node(char* glyph_name, int name_offset, -- cgit v1.2.3