Changeset 48784 in webkit


Ignore:
Timestamp:
Sep 25, 2009 9:32:58 PM (15 years ago)
Author:
ddkilzer@apple.com
Message:

Part 1 of 2: <http://webkit.org/b/29753> DerivedSources.make broken for non-Mac targets

Reviewed by Darin Adler.

  • DerivedSources.make: Move tests for ENABLE_CONTEXT_MENUS, ENABLE_DRAG_SUPPORT and ENABLE_INSPECTOR into Mac-only section.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r48783 r48784  
     12009-09-25  David Kilzer  <ddkilzer@apple.com>
     2
     3        Part 1 of 2: <http://webkit.org/b/29753> DerivedSources.make broken for non-Mac targets
     4
     5        Reviewed by Darin Adler.
     6
     7        * DerivedSources.make: Move tests for ENABLE_CONTEXT_MENUS,
     8        ENABLE_DRAG_SUPPORT and ENABLE_INSPECTOR into Mac-only section.
     9
    1102009-09-25  Adam Barth  <abarth@webkit.org>
    211
  • trunk/WebCore/DerivedSources.make

    r48729 r48784  
    468468endif
    469469
    470 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_CONTEXT_MENUS | cut -d' ' -f3), 1)
    471     ENABLE_CONTEXT_MENUS = 1
    472 else
    473     ENABLE_CONTEXT_MENUS = 0
    474 endif
    475 
    476 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_DRAG_SUPPORT | cut -d' ' -f3), 1)
    477     ENABLE_DRAG_SUPPORT = 1
    478 else
    479     ENABLE_DRAG_SUPPORT = 0
    480 endif
    481 
    482 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_INSPECTOR | cut -d' ' -f3), 1)
    483     ENABLE_INSPECTOR = 1
    484 else
    485     ENABLE_INSPECTOR = 0
    486 endif
    487 
    488470ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
    489471    ENABLE_ORIENTATION_EVENTS = 1
     
    814796endif
    815797
    816 ifeq ($(ENABLE_CONTEXT_MENUS), 1)
     798ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_CONTEXT_MENUS | cut -d' ' -f3), 1)
    817799    WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.ContextMenus.exp
    818800endif
     
    822804endif
    823805
    824 ifeq ($(ENABLE_DRAG_SUPPORT), 1)
     806ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_DRAG_SUPPORT | cut -d' ' -f3), 1)
    825807    WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.DragSupport.exp
    826808endif
    827809
    828 ifeq ($(ENABLE_INSPECTOR), 1)
     810ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_INSPECTOR | cut -d' ' -f3), 1)
    829811    WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.Inspector.exp
    830812endif
Note: See TracChangeset for help on using the changeset viewer.