summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-09-23 15:31:45 +0100
committerKristian Monsen <kristianm@google.com>2010-09-23 16:38:22 +0100
commit45ca37e14f3f68f52a77e0d06514716809ed89ab (patch)
tree6fb388c4c0a6c4785c3f566687690fc64d33d640 /Android.mk
parent32eb9c0c90a8800cdb31fe31b75ee08817545a23 (diff)
downloadexternal_webkit-45ca37e14f3f68f52a77e0d06514716809ed89ab.zip
external_webkit-45ca37e14f3f68f52a77e0d06514716809ed89ab.tar.gz
external_webkit-45ca37e14f3f68f52a77e0d06514716809ed89ab.tar.bz2
Remove #if USE(CHROME_NETWORK_STACK) guards from headers
Change-Id: Ib3c3037ab3f62d0c9c49f53850be5ff5c4f2a525
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk14
1 files changed, 5 insertions, 9 deletions
diff --git a/Android.mk b/Android.mk
index 39c79bbd..9f6ca13 100644
--- a/Android.mk
+++ b/Android.mk
@@ -223,12 +223,14 @@ LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
$(base_intermediates)/WebCore/html \
$(base_intermediates)/WebCore/platform
-# The following includes are needed by the AutoFill feature.
+# The following includes are needed by the AutoFill feature, or the chrome http
+# stack
LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
$(LOCAL_PATH)/WebKit/chromium \
$(LOCAL_PATH)/WebKit/chromium/public \
external/chromium/chrome/browser \
external/chromium/chrome/renderer \
+ external/chromium \
external/chromium/android \
external/chromium/chrome \
external/skia
@@ -274,13 +276,6 @@ intermediates := $(base_intermediates)/$d
include $(LOCAL_PATH)/Android.mk
WEBKIT_SRC_FILES += $(addprefix $d/,$(LOCAL_SRC_FILES))
-ifeq ($(HTTP_STACK),chrome)
-LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
- $(LOCAL_PATH)/WebKit/chromium/public \
- external/chromium \
- external/chromium/android
-endif # HTTP_STACK == chrome
-
# Redefine LOCAL_PATH here so the build system is not confused
LOCAL_PATH := $(BASE_PATH)
@@ -289,10 +284,11 @@ LOCAL_CFLAGS += -Wno-endif-labels -Wno-import -Wno-format
LOCAL_CFLAGS += -fno-strict-aliasing
LOCAL_CFLAGS += -include "WebCorePrefix.h"
LOCAL_CFLAGS += -fvisibility=hidden
+# 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
-LOCAL_CFLAGS += -include "assert.h"
endif # HTTP_STACK == chrome
# Enable JSC JIT if JSC is used and ENABLE_JSC_JIT environment