Add back include that ensures RENDER_TEXT_AS_GLYPHS is set consistently.
bug: 18051326
Change-Id: I1ee9f8acb25fb1684e156c61e2cf2669d15a99cb
diff --git a/libs/hwui/font/FontUtil.h b/libs/hwui/font/FontUtil.h
index e302afb..f23ccbe 100644
--- a/libs/hwui/font/FontUtil.h
+++ b/libs/hwui/font/FontUtil.h
@@ -19,6 +19,8 @@
#include <SkUtils.h>
+#include "Properties.h"
+
///////////////////////////////////////////////////////////////////////////////
// Defines
///////////////////////////////////////////////////////////////////////////////
@@ -49,6 +51,7 @@
return g;
}
#else
+#error here
typedef SkUnichar glyph_t;
#define TO_GLYPH(g) ((SkUnichar) g)
#define GET_METRICS(cache, glyph) cache->getUnicharMetrics(glyph)