Skip to content

Commit ba71cdc

Browse files
committed
Enable chromium http stack for x86
Use chromium http stack as the online media http stack for x86 platform. Change-Id: I16a7a8697127a51fab8105833f7463911852f0b3
1 parent 1b34c1b commit ba71cdc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

media/libstagefright/Android.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,12 @@ 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 CPU, and since we must use jsc, we cannot
98+
# V8 also requires an ARMv7 & x86 CPU, and since we must use jsc, we cannot
9999
# use the Chrome http stack either.
100100
ifneq ($(strip $(ARCH_ARM_HAVE_ARMV7A)),true)
101-
USE_ALT_HTTP := true
101+
ifneq ($(TARGET_ARCH),x86)
102+
USE_ALT_HTTP := true
103+
endif
102104
endif
103105

104106
# See if the user has specified a stack they want to use

0 commit comments

Comments
 (0)