[WK2] Notifications clobber each other with multiple processes
[WebKit-https.git] / Source / WebKit2 / DerivedSources.make
index ee1c170..dd7ba23 100644 (file)
@@ -32,6 +32,7 @@ VPATH = \
     $(WebKit2)/Shared/Authentication \
     $(WebKit2)/Shared/Network/CustomProtocols \
     $(WebKit2)/SharedWorkerProcess \
+    $(WebKit2)/OfflineStorageProcess \
     $(WebKit2)/WebProcess/ApplicationCache \
     $(WebKit2)/WebProcess/Cookies \
     $(WebKit2)/WebProcess/FullScreen \
@@ -68,10 +69,13 @@ MESSAGE_RECEIVERS = \
     NetworkProcess \
     NetworkProcessConnection \
     NetworkProcessProxy \
+    NetworkResourceLoader \
     NPObjectMessageReceiver \
+    OfflineStorageProcess \
     PluginControllerProxy \
     PluginProcess \
     PluginProcessConnection \
+    PluginProcessConnectionManager \
     PluginProcessProxy \
     PluginProxy \
     SharedWorkerProcess \
@@ -86,6 +90,7 @@ MESSAGE_RECEIVERS = \
     RemoteLayerTreeHost \
     SecItemShim \
     SecItemShimProxy \
+    StorageAreaMap \
     WebContext \
     WebDatabaseManager \
     WebDatabaseManagerProxy \
@@ -97,11 +102,8 @@ MESSAGE_RECEIVERS = \
     WebIconDatabaseProxy \
     WebInspector \
     WebInspectorProxy \
-    WebKeyValueStorageManager \
-    WebKeyValueStorageManagerProxy \
     WebMediaCacheManager \
     WebMediaCacheManagerProxy \
-    WebNotificationManagerProxy \
     WebNotificationManager \
     WebPage \
     WebPageGroupProxy \
@@ -140,11 +142,19 @@ all : \
 
 # Mac-specific rules
 
-ifeq ($(OS),MACOS)
+ifeq ($(PLATFORM_NAME),macosx)
 
 FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print "-F " . join(" -F ", split(" ", <>));')
 HEADER_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) | perl -e 'print "-I" . join(" -I", split(" ", <>));')
+
+# Some versions of clang incorrectly strip out // comments in c89 code.
+# Use -traditional as a workaround, but only when needed since that causes
+# other problems with later versions of clang.
+ifeq ($(shell echo '//x' | $(CC) -E -P -x c -std=c89 - | grep x),)
 TEXT_PREPROCESSOR_FLAGS=-E -P -x c -traditional -w
+else
+TEXT_PREPROCESSOR_FLAGS=-E -P -x c -std=c89 -w
+endif
 
 ifneq ($(SDKROOT),)
        SDK_FLAGS=-isysroot $(SDKROOT)
@@ -160,7 +170,7 @@ all: $(SANDBOX_PROFILES)
        @echo Pre-processing $* sandbox profile...
        $(CC) $(SDK_FLAGS) $(TEXT_PREPROCESSOR_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" $< > $@
 
-endif # MACOS
+endif # macosx
 
 # ------------------------