summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/Android.derived.mk9
-rw-r--r--WebCore/WebCorePrefix.h5
-rw-r--r--WebCore/config.h6
3 files changed, 9 insertions, 11 deletions
diff --git a/WebCore/Android.derived.mk b/WebCore/Android.derived.mk
index e2cf096..7c2e8e4 100644
--- a/WebCore/Android.derived.mk
+++ b/WebCore/Android.derived.mk
@@ -59,12 +59,10 @@ LOCAL_GENERATED_SOURCES += $(GEN)
GEN := $(intermediates)/html/DocTypeStrings.cpp
$(GEN): SCRIPT := $(LOCAL_PATH)/make-hash-tools.pl
-$(GEN): PRIVATE_CUSTOM_TOOL = perl $(SCRIPT) . $<
+$(GEN): PRIVATE_CUSTOM_TOOL = perl $(SCRIPT) $(dir $@) $<
$(GEN): $(LOCAL_PATH)/html/DocTypeStrings.gperf
$(transform-generated-source)
- @mv ./DocTypeStrings.cpp $@
-# we have to do this dep by hand:
-$(intermediates)/html/HTMLDocument.o : $(GEN)
+LOCAL_GENERATED_SOURCES += $(GEN)
# HTML entity table
@@ -86,10 +84,9 @@ LOCAL_GENERATED_SOURCES += $(GEN)
GEN := $(intermediates)/platform/ColorData.cpp
$(GEN): SCRIPT := $(LOCAL_PATH)/make-hash-tools.pl
-$(GEN): PRIVATE_CUSTOM_TOOL = perl $(SCRIPT) . $<
+$(GEN): PRIVATE_CUSTOM_TOOL = perl $(SCRIPT) $(dir $@) $<
$(GEN): $(LOCAL_PATH)/platform/ColorData.gperf
$(transform-generated-source)
- @mv ./ColorData.cpp $@
LOCAL_GENERATED_SOURCES += $(GEN)
diff --git a/WebCore/WebCorePrefix.h b/WebCore/WebCorePrefix.h
index cde5a85..a871e4c 100644
--- a/WebCore/WebCorePrefix.h
+++ b/WebCore/WebCorePrefix.h
@@ -70,11 +70,6 @@
#define PREFIX_FOR_WEBCORE 1
#define EXPORT __attribute__((visibility("default")))
#endif
-// Android uses a single set of include directories when building WebKit and
-// JavaScriptCore. Since WebCore/ is included before JavaScriptCore/, Android
-// includes JavaScriptCore/config.h explicitly here to make sure it gets picked
-// up.
-#include <JavaScriptCore/config.h>
#endif
#if !defined(BUILDING_BREWMP__)
diff --git a/WebCore/config.h b/WebCore/config.h
index f88ad3b..b259f9e 100644
--- a/WebCore/config.h
+++ b/WebCore/config.h
@@ -81,6 +81,12 @@
// ANDROID def should be after all PLATFORM to avoid override.
#if PLATFORM(ANDROID)
+// Android uses a single set of include directories when building WebKit and
+// JavaScriptCore. Since WebCore/ is included before JavaScriptCore/, Android
+// includes JavaScriptCore/config.h explicitly here to make sure it gets picked
+// up.
+#include <JavaScriptCore/config.h>
+
#define WEBCORE_NAVIGATOR_VENDOR "Google Inc."
// This must be defined before we include FastMalloc.h, below.
#define USE_SYSTEM_MALLOC 1