diff options
author | Tom Anderson <thomasanderson@chromium.org> | 2017-12-19 23:07:45 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-19 23:07:45 +0000 |
commit | c3532457d457e868afb8506e047ab353f2651bc0 (patch) | |
tree | 9dde3974172f6ccd3ef6d3e2aac2a60abc731c9d /core | |
parent | 30ef542b6f631f0ffbcd4110857e7c1a304a8a23 (diff) | |
download | pdfium-c3532457d457e868afb8506e047ab353f2651bc0.tar.xz |
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 <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/fxge/freetype/DEPS | 3 | ||||
-rw-r--r-- | core/fxge/freetype/fx_freetype.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
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, |