summaryrefslogtreecommitdiffstats
path: root/libcutils/Android.mk
diff options
context:
space:
mode:
authorPavel Chupin <pavel.v.chupin@intel.com>2013-10-10 20:19:15 +0400
committerPavel Chupin <pavel.v.chupin@intel.com>2013-10-10 20:20:16 +0400
commit4aa51cd46842d4e821bd5536fd80ee0a796f3a83 (patch)
treeb342d83653de9e0de3dc4f7467b54df656bbdd7b /libcutils/Android.mk
parent2de8102d422f48eec44fe8782cd2411f04f1dcb2 (diff)
downloadcore-4aa51cd46842d4e821bd5536fd80ee0a796f3a83.tar.gz
core-4aa51cd46842d4e821bd5536fd80ee0a796f3a83.tar.bz2
core-4aa51cd46842d4e821bd5536fd80ee0a796f3a83.zip
Cleanup x86 flags and memset versions
ARCH_X86_HAVE_SSE2 is always true Change-Id: I680493d14280aafad5448aec727e8d9a84a6db00 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Diffstat (limited to 'libcutils/Android.mk')
-rw-r--r--libcutils/Android.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/libcutils/Android.mk b/libcutils/Android.mk
index 57fc02191..711710374 100644
--- a/libcutils/Android.mk
+++ b/libcutils/Android.mk
@@ -128,12 +128,8 @@ ifeq ($(TARGET_ARCH),arm)
LOCAL_SRC_FILES += arch-arm/memset32.S
else # !arm
ifeq ($(TARGET_ARCH),x86)
- ifeq ($(ARCH_X86_HAVE_SSE2),true)
- LOCAL_CFLAGS += -DHAVE_MEMSET16 -DHAVE_MEMSET32 -DUSE_SSE2
- LOCAL_SRC_FILES += arch-x86/android_memset16.S arch-x86/android_memset32.S memory.c
- else # !ARCH_X86_HAVE_SSE2
- LOCAL_SRC_FILES += memory.c
- endif # !ARCH_X86_HAVE_SSE2
+ LOCAL_CFLAGS += -DHAVE_MEMSET16 -DHAVE_MEMSET32
+ LOCAL_SRC_FILES += arch-x86/android_memset16.S arch-x86/android_memset32.S memory.c
else # !x86
ifeq ($(TARGET_ARCH),mips)
LOCAL_SRC_FILES += arch-mips/android_memset.c