Index: src/core/SkUtilsArm.cpp |
diff --git a/src/core/SkUtilsArm.cpp b/src/core/SkUtilsArm.cpp |
index 87a4a7fb0ad2caea1aadffab1f73ea679c69f46e..58cf1157c307c604f59a16f43a923c87d309a809 100644 |
--- a/src/core/SkUtilsArm.cpp |
+++ b/src/core/SkUtilsArm.cpp |
@@ -20,10 +20,12 @@ |
// cpu-features helper library to detect NEON at runtime. See |
// http://crbug.com/164154 to see why this is needed in Chromium |
// for Android. |
-#if defined(SK_BUILD_FOR_ANDROID) |
-# define USE_ANDROID_NDK_CPU_FEATURES 1 |
-#else |
-# define USE_ANDROID_NDK_CPU_FEATURES 0 |
+#if !defined(USE_ANDROID_NDK_CPU_FEATURES) |
+# if defined(SK_BUILD_FOR_ANDROID) |
+# define USE_ANDROID_NDK_CPU_FEATURES 1 |
+# else |
+# define USE_ANDROID_NDK_CPU_FEATURES 0 |
+# endif |
#endif |
#if USE_ANDROID_NDK_CPU_FEATURES |