aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorWei-Ta Chen <weita@google.com>2009-06-25 12:46:15 +0800
committerWei-Ta Chen <weita@google.com>2009-06-25 13:03:50 +0800
commit323fc5f6b797daedeb80cf137de1f7abb1ce6ff3 (patch)
tree9fbde34092966a3f1bb372e652905ab13ec9ac8e /Android.mk
parent9255d4e019df455c662b01c7030b5d9ec2376695 (diff)
downloadexternal_skia-323fc5f6b797daedeb80cf137de1f7abb1ce6ff3.zip
external_skia-323fc5f6b797daedeb80cf137de1f7abb1ce6ff3.tar.gz
external_skia-323fc5f6b797daedeb80cf137de1f7abb1ce6ff3.tar.bz2
Fix a broken sim-eng build because of lacking of arm arch check.
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 1822c85..8afd5af 100644
--- a/Android.mk
+++ b/Android.mk
@@ -183,8 +183,11 @@ LOCAL_SRC_FILES += \
emoji/EmojiFont.cpp
# including the optimized assembly code for the src-overing operation
-LOCAL_SRC_FILES += \
- src/core/asm/s32a_d565_opaque.S
+ifeq ($(TARGET_ARCH),arm)
+ LOCAL_CFLAGS += -DUSE_ARM_ASM
+ LOCAL_SRC_FILES += \
+ src/core/asm/s32a_d565_opaque.S
+endif
LOCAL_SHARED_LIBRARIES := \
libcutils \