Skip to content

Commit 9b2b052

Browse files
Jean-Baptiste Queruandroid code review
authored andcommitted
Merge "Only check ARCH_ARM_HAVE_ARMV7A if TARGET_ARCH is arm"
2 parents 460abe9 + 30768cf commit 9b2b052

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

media/libstagefright/Android.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ LOCAL_STATIC_LIBRARIES := \
9595
# currently must follow the same logic to determine how webkit was built and
9696
# if it's safe to link against libchromium.net
9797

98-
# V8 also requires an ARMv7 & x86 CPU, and since we must use jsc, we cannot
98+
# On ARM, V8 also requires an ARMv7 CPU, and since we must use jsc, we cannot
9999
# use the Chrome http stack either.
100-
ifneq ($(strip $(ARCH_ARM_HAVE_ARMV7A)),true)
101-
ifneq ($(TARGET_ARCH),x86)
102-
USE_ALT_HTTP := true
100+
ifeq ($(TARGET_ARCH),arm)
101+
ifneq ($(strip $(ARCH_ARM_HAVE_ARMV7A)),true)
102+
USE_ALT_HTTP := true
103103
endif
104104
endif
105105

0 commit comments

Comments
 (0)