Index: src/ports/SkFontMgr_android_factory.cpp |
diff --git a/src/ports/SkFontMgr_android_factory.cpp b/src/ports/SkFontMgr_android_factory.cpp |
index 96d89314d0d1f491a644b5a1434b45479d620caf..99f654d838590d49b1272d89c953a5b9e8b57f5f 100644 |
--- a/src/ports/SkFontMgr_android_factory.cpp |
+++ b/src/ports/SkFontMgr_android_factory.cpp |
@@ -4,6 +4,8 @@ |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. |
*/ |
+#include "SkTypes.h" |
+#if defined(SK_BUILD_FOR_ANDROID) |
bungeman-skia
2015/11/24 16:48:15
This and the associated header and factory should
|
#include "SkFontMgr.h" |
#include "SkFontMgr_android.h" |
@@ -41,3 +43,5 @@ SkFontMgr* SkFontMgr::Factory() { |
return SkFontMgr_New_Android(nullptr); |
} |
+ |
+#endif//defined(SK_BUILD_FOR_ANDROID) |