Fix ios build in chromium when targeting multiple architectures
authordjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Apr 2014 17:50:01 +0000 (17:50 +0000)
committerdjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Apr 2014 17:50:01 +0000 (17:50 +0000)
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/222583003

git-svn-id: http://skia.googlecode.com/svn/trunk@14048 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkPreConfig.h

index 8be03bf60c6cea44624900aaa2239d6c1d17275f..41670317d328bd67310871da36234b96015463f8 100644 (file)
 //////////////////////////////////////////////////////////////////////
 // ARM defines
 
-#if defined(__arm__) && (!defined(__APPLE__) || !TARGET_IPHONE_SIMULATOR)
+#if defined(__arm__) && !defined(__APPLE__)
     #define SK_CPU_ARM
 
     #if defined(__GNUC__)
     #endif
 #endif
 
-#if defined(__aarch64__)
+#if defined(__aarch64__) && !defined(__APPLE__)
     #define SK_CPU_ARM64
 #endif