Review URL: https://codereview.chromium.org/
13975014
git-svn-id: http://skia.googlecode.com/svn/trunk@8677
2bbb7eff-a529-9590-31e7-
b0007b416f81
'config/win',
],
}],
- [ 'skia_os in ("android", "nacl")', {
+ [ 'skia_os == "nacl"', {
'dependencies': [
'freetype.gyp:freetype',
],
#include <dwrite.h>
#endif
-#if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
+#if defined(SK_BUILD_FOR_NACL)
#include <ft2build.h>
#include FT_FREETYPE_H
#endif
uint32_t subsetGlyphIDsLength,
bool (*getAdvance)(IDWriteFontFace* fontFace, int gId, int16_t* data));
#elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
+struct FT_FaceRec;
+typedef struct FT_FaceRec_* FT_Face;
template SkAdvancedTypefaceMetrics::WidthRange* getAdvanceData(
FT_Face face,
int num_glyphs,