Index: include/core/SkPreConfig.h |
diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h |
index 47e83d19e8cd8741f399804cf269992ffe5d171e..1c2e24fba6577461abb86244c22a30554d9e38f4 100644 |
--- a/include/core/SkPreConfig.h |
+++ b/include/core/SkPreConfig.h |
@@ -142,6 +142,12 @@ |
#undef SK_CPU_SSE_LEVEL |
#define SK_CPU_SSE_LEVEL SK_CPU_SSE_LEVEL_SSE2 |
#endif |
+#endif |
+ |
+// Android x86 NDK ABI requires SSE3 support |
+#if defined(SK_BUILD_FOR_ANDROID) |
+ #undef SK_CPU_SSE_LEVEL |
+ #define SK_CPU_SSE_LEVEL SK_CPU_SSE_LEVEL_SSE3 |
#endif |
////////////////////////////////////////////////////////////////////// |