Index: src/ports/SkFontHost_android.cpp |
diff --git a/src/ports/SkFontHost_android.cpp b/src/ports/SkFontHost_android.cpp |
index bbde313ab6c1908678f30c667fc89de1a6509a98..e1d6cf471e1684e5549d5e5c1dc8728a08845a47 100644 |
--- a/src/ports/SkFontHost_android.cpp |
+++ b/src/ports/SkFontHost_android.cpp |
@@ -885,7 +885,7 @@ size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, |
} |
SkFontID SkFontHost::NextLogicalFont(SkFontID currFontID, SkFontID origFontID) { |
-#ifdef SK_BUILD_FOR_ANDROID_NDK |
+#if defined(SK_BUILD_FOR_ANDROID) && !defined(SK_BUILD_FOR_ANDROID_FRAMEWORK) |
// Skia does not support font fallback for ndk applications in order to |
// enable clients such as WebKit to customize their font selection. |
// Clients can use GetFallbackFamilyNameForChar() to get the fallback |