summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-02-16 17:33:50 +0000
committerSteve Block <steveblock@google.com>2012-02-22 17:09:24 +0000
commit4bcd50196a7fe4c0c909ce6a7cfac6a808336611 (patch)
treed196d6ed654433d3953cbf9476e76f7db8394ef3 /Android.mk
parentfa20d5d7a15b724e0209ba319750249dcd540402 (diff)
downloadexternal_webkit-4bcd50196a7fe4c0c909ce6a7cfac6a808336611.zip
external_webkit-4bcd50196a7fe4c0c909ce6a7cfac6a808336611.tar.gz
external_webkit-4bcd50196a7fe4c0c909ce6a7cfac6a808336611.tar.bz2
Drop support for Android HTTP stack
All future releases will use the Chromium HTTP stack and maintaining two HTTP stacks adds maintenance overhead. The Chromium HTTP stack requires V8, but we now use V8 in all build targets (b/5495373), so we can safely drop the Android HTTP stack. See corresponding framework change https://android-git.corp.google.com/g/166325. Bug: 5495616 Change-Id: I41117b6750fbc1c84cbd4a5951b0d1a457354f93
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk54
1 files changed, 16 insertions, 38 deletions
diff --git a/Android.mk b/Android.mk
index fd01fbb..1320fa8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -35,32 +35,12 @@ ifneq ($(SUPPORT_COMPLEX_SCRIPTS),false)
SUPPORT_COMPLEX_SCRIPTS = true
endif
-# See if the desired HTTP stack has been specified.
-HTTP_STACK = $(HTTP)
-# We default to the Chrome HTTP stack.
-DEFAULT_HTTP = chrome
-ALT_HTTP = android
-
-ifneq ($(HTTP_STACK),chrome)
- ifneq ($(HTTP_STACK),android)
- # No HTTP stack is specified, pickup the one we want as default.
- ifeq ($(USE_ALT_HTTP),true)
- HTTP_STACK = $(ALT_HTTP)
- else
- HTTP_STACK = $(DEFAULT_HTTP)
- endif
- endif
-endif
-
# Read the environment variable to determine if Autofill is compiled.
-# The default is on. Chrome HTTP stack must be used when Autofill
+# The default is on.
# is turned on.
ifneq ($(ENABLE_AUTOFILL),false)
ENABLE_AUTOFILL = true
endif
-ifneq ($(HTTP_STACK),chrome)
- ENABLE_AUTOFILL = false
-endif
BASE_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -252,10 +232,7 @@ LOCAL_CFLAGS += -fvisibility=hidden
LOCAL_CFLAGS += -DALWAYS_INLINE=inline
# Make sure assert.h is included before assert is defined
LOCAL_CFLAGS += -include "assert.h"
-ifeq ($(HTTP_STACK),chrome)
LOCAL_CFLAGS += -DGOOGLEURL
-LOCAL_CFLAGS += -DWTF_USE_CHROME_NETWORK_STACK
-endif # HTTP_STACK == chrome
LOCAL_CPPFLAGS := -Wno-sign-promo
LOCAL_CPPFLAGS := -Wno-c++0x-compat
@@ -291,25 +268,30 @@ endif
LOCAL_LDLIBS += -lpthread -ldl
# Build the list of shared libraries
+# We have to use the android version of libdl
LOCAL_SHARED_LIBRARIES := \
+ libEGL \
+ libGLESv2 \
libandroid \
libandroidfw \
libandroid_runtime \
- libnativehelper \
- libsqlite \
- libskia \
- libutils \
- libui \
+ libchromium_net \
+ libcrypto \
libcutils \
+ libdl \
+ libgui \
libicuuc \
libicui18n \
libmedia \
- libEGL \
- libGLESv2 \
- libgui
+ libnativehelper \
+ libskia \
+ libsqlite \
+ libssl \
+ libstlport \
+ libutils \
+ libui \
+ libz
-# We have to use the android version of libdl
-LOCAL_SHARED_LIBRARIES += libdl libstlport
# We have to fake out some headers when using stlport.
LOCAL_C_INCLUDES += \
external/chromium/android
@@ -327,10 +309,6 @@ endif
# Build the list of static libraries
LOCAL_STATIC_LIBRARIES := libxml2 libxslt libhyphenation libskiagpu libv8
-ifeq ($(HTTP_STACK),chrome)
-LOCAL_SHARED_LIBRARIES += libcrypto libssl libz libchromium_net
-endif # HTTP_STACK == chrome
-
ifeq ($(ENABLE_AUTOFILL),true)
LOCAL_SHARED_LIBRARIES += libexpat
endif