Remove unused make variable from DerivedSources.make
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Feb 2013 01:32:31 +0000 (01:32 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Feb 2013 01:32:31 +0000 (01:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=110306

Patch by Laszlo Gombos <l.gombos@samsung.com> on 2013-02-22
Reviewed by Alexey Proskuryakov.

r107026 removed the last piece of logic that was guarded with
ENABLE_DASHBOARD_SUPPORT, so now it can be removed from
DerivedSources.make.

Also combined the way ENABLE_ORIENTATION_EVENTS is set to 0
to make it more readable.

No new tests, no new functionality.

* DerivedSources.make:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143820 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make

index f149dd4..b55e610 100644 (file)
@@ -1,3 +1,21 @@
+2013-02-22  Laszlo Gombos  <l.gombos@samsung.com>
+
+        Remove unused make variable from DerivedSources.make
+        https://bugs.webkit.org/show_bug.cgi?id=110306
+
+        Reviewed by Alexey Proskuryakov.
+
+        r107026 removed the last piece of logic that was guarded with
+        ENABLE_DASHBOARD_SUPPORT, so now it can be removed from
+        DerivedSources.make. 
+
+        Also combined the way ENABLE_ORIENTATION_EVENTS is set to 0
+        to make it more readable.
+
+        No new tests, no new functionality.
+
+        * DerivedSources.make:
+
 2013-02-22  Dimitri Glazkov  <dglazkov@chromium.org>
 
         REGRESSION(r130089): Scrollbar thumb no longer re-rendered on hover
index b22ade5..24eecf1 100644 (file)
@@ -694,30 +694,16 @@ ifneq ($(SDKROOT),)
        SDK_FLAGS=-isysroot $(SDKROOT)
 endif
 
-ifeq ($(shell $(CC) -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ENABLE_DASHBOARD_SUPPORT | cut -d' ' -f3), 1)
-    ENABLE_DASHBOARD_SUPPORT = 1
-else
-    ENABLE_DASHBOARD_SUPPORT = 0
-endif
-
 ifeq ($(shell $(CC) -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
     ENABLE_ORIENTATION_EVENTS = 1
-else
-    ENABLE_ORIENTATION_EVENTS = 0
 endif
 
-else
-
-ifndef ENABLE_DASHBOARD_SUPPORT
-    ENABLE_DASHBOARD_SUPPORT = 0
-endif
+endif # MACOS
 
 ifndef ENABLE_ORIENTATION_EVENTS
     ENABLE_ORIENTATION_EVENTS = 0
 endif
 
-endif # MACOS
-
 ifndef ENABLE_DRAGGABLE_REGION
     ENABLE_DRAGGABLE_REGION = 0
 endif