Index: src/ports/SkFontHost_mac.cpp |
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp |
index 772fe74f487a940d7adc74dd9c6a796863274b33..25030be4132952eba43469649ef24c5e3827f716 100644 |
--- a/src/ports/SkFontHost_mac.cpp |
+++ b/src/ports/SkFontHost_mac.cpp |
@@ -7,6 +7,7 @@ |
*/ |
#include "SkTypes.h" // Keep this before any #ifdef ... |
+#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
#ifdef SK_BUILD_FOR_MAC |
#import <ApplicationServices/ApplicationServices.h> |
@@ -2491,3 +2492,5 @@ protected: |
/////////////////////////////////////////////////////////////////////////////// |
SkFontMgr* SkFontMgr::Factory() { return new SkFontMgr_Mac; } |
+ |
+#endif//defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |