summaryrefslogtreecommitdiff
path: root/Android.common.mk
diff options
context:
space:
mode:
authorLepton Wu <lepton@chromium.org>2019-10-29 17:41:14 -0700
committerLepton Wu <lepton@chromium.org>2019-11-12 18:09:43 +0000
commit5c2d307a102be0c13d8f0ac483583e5daee6cfad (patch)
treece8a559fb185f2cd2c7fcc12f8fc0a1b7f4069f2 /Android.common.mk
parent6914b0236f648fa8787dd35a2d4dc0be6d0e03f9 (diff)
android: mesa: Revert "android: mesa: revert "Enable asm unconditionally""
Commit 45206d7673adb1484cbdb3eadaf82e0849c9cdcf fixed PIC issue of x86 asm stub. We can enable asm for Android x86 now. This should sightly improve performance. Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Lepton Wu <lepton@chromium.org>
Diffstat (limited to 'Android.common.mk')
-rw-r--r--Android.common.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 6bf64f55c54..2d04573c433 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -103,12 +103,9 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo true),true)
LOCAL_CFLAGS += -DHAVE_SYS_SHM_H
endif
-ifeq ($(strip $(MESA_ENABLE_ASM)),true)
ifeq ($(TARGET_ARCH),x86)
LOCAL_CFLAGS += \
-DUSE_X86_ASM
-
-endif
endif
ifeq ($(ARCH_ARM_HAVE_NEON),true)
LOCAL_CFLAGS_arm += -DUSE_ARM_ASM