aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJungshik Shin <jungshik@google.com>2016-01-15 01:03:06 -0800
committerThe Android Automerger <android-build@google.com>2016-02-24 13:20:15 -0800
commit96f965ff7411f1edba72140fd70740e63cabec71 (patch)
treeafe177754473236c94ab1379292716cfb24090a5
parente6986e1e8d4a57987f47c215490cb080a65ee29a (diff)
downloadandroid_external_pdfium-96f965ff7411f1edba72140fd70740e63cabec71.tar.gz
android_external_pdfium-96f965ff7411f1edba72140fd70740e63cabec71.tar.bz2
android_external_pdfium-96f965ff7411f1edba72140fd70740e63cabec71.zip
[DO NOT MERGE] Fix the way FreeType headers are incldued.
FreeType headers have to be included with macros defined in ftheaders.h. Not doing so breaks when the FreeType header location changes as was the case between FreeType 2.6.0 and 2.6.2. This issue blocks updating FreeType to 2.6.2. Fixed in the upstream: https://pdfium.googlesource.com/pdfium/+/56461d66054c53fe3abc88208eaf5d84e80e6551 This CL is back-porting the following AOSP master CL: https://android-review.googlesource.com/#/c/196608/ BUG: 24296662 Change-Id: I174a6ad2d3efcce5a68317957869ae898869f850 Signed-off-by: Jungshik Shin <jungshik@google.com>
-rw-r--r--core/include/fxge/fx_freetype.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/include/fxge/fx_freetype.h b/core/include/fxge/fx_freetype.h
index 6975ead..7ad9812 100644
--- a/core/include/fxge/fx_freetype.h
+++ b/core/include/fxge/fx_freetype.h
@@ -8,12 +8,12 @@
#define CORE_INCLUDE_FXGE_FX_FREETYPE_H_
#include <ft2build.h>
-#include <freetype.h>
-#include <ftglyph.h>
-#include <ftlcdfil.h>
-#include <ftmm.h>
-#include <ftoutln.h>
-#include <tttables.h>
+#include FT_FREETYPE_H
+#include FT_GLYPH_H
+#include FT_LCD_FILTER_H
+#include FT_MULTIPLE_MASTERS_H
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_TABLES_H
#ifdef __cplusplus
extern "C" {
#endif