Changeset 81540 in webkit


Ignore:
Timestamp:
Mar 18, 2011 5:51:25 PM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-03-18 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

WebCore GYP build should build
https://bugs.webkit.org/show_bug.cgi?id=56696

After this patch, the WebCore GYP build successfully compiles and
links. I haven't trying executing it yet.

  • WebCore.gypi:
    • DOMMouseEvent should be included as part of the Objective-C bindings.
  • WebCore.xcodeproj/project.pbxproj:
    • RenderSVGPath.cpp was mistakenly included directly in the project instead of being built by RenderSVGAllInOne.
  • gyp/WebCore.gyp:
    • Exclude some more files from the build. These files are absent in the normal build. I didn't see them earlier because the dead code stripping was hiding them. (They're probably unreferenced.)
    • Switch to using RenderSVGAllInOne. I'm not entirely sure if this part of the patch is necessary, but it matches the normal build more closely.
  • platform/mac/WebCoreObjCExtras.mm:
    • The normal build passes the -Wdeprecated-declarations flag when compiling this file. The GYP folks explicitly do not want to add that feature to GYP, and there does not appear to be a way to remove the deprecated call from this file.
  • rendering/svg/RenderSVGAllInOne.cpp:
    • Add RenderSVGPath.cpp, which was missing previously.
Location:
trunk/Source/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r81539 r81540  
     12011-03-18  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        WebCore GYP build should build
     6        https://bugs.webkit.org/show_bug.cgi?id=56696
     7
     8        After this patch, the WebCore GYP build successfully compiles and
     9        links.  I haven't trying executing it yet.
     10
     11        * WebCore.gypi:
     12            - DOMMouseEvent should be included as part of the Objective-C bindings.
     13        * WebCore.xcodeproj/project.pbxproj:
     14            - RenderSVGPath.cpp was mistakenly included directly in the project
     15              instead of being built by RenderSVGAllInOne.
     16        * gyp/WebCore.gyp:
     17            - Exclude some more files from the build.  These files are absent
     18              in the normal build.  I didn't see them earlier because the dead
     19              code stripping was hiding them.  (They're probably unreferenced.)
     20            - Switch to using RenderSVGAllInOne.  I'm not entirely sure if this
     21              part of the patch is necessary, but it matches the normal build
     22              more closely.
     23        * platform/mac/WebCoreObjCExtras.mm:
     24            - The normal build passes the -Wdeprecated-declarations flag when
     25              compiling this file.  The GYP folks explicitly do not want to add
     26              that feature to GYP, and there does not appear to be a way to
     27              remove the deprecated call from this file.
     28        * rendering/svg/RenderSVGAllInOne.cpp:
     29            - Add RenderSVGPath.cpp, which was missing previously.
     30
    1312011-03-18  Adam Barth  <abarth@webkit.org>
    232
  • trunk/Source/WebCore/WebCore.gypi

    r81539 r81540  
    67646764            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMMessagePort.mm',
    67656765            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMMessagePortInternal.h',
     6766            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMMouseEvent.mm',
     6767            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMMouseEventInternal.h',
    67666768            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMMutationEvent.mm',
    67676769            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMMutationEventInternal.h',
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r81198 r81540  
    40734073                ABFE7E120D32FAF60066F4D2 /* MediaControlElements.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ABFE7E100D32FAF50066F4D2 /* MediaControlElements.cpp */; };
    40744074                ABFE7E130D32FAF60066F4D2 /* MediaControlElements.h in Headers */ = {isa = PBXBuildFile; fileRef = ABFE7E110D32FAF50066F4D2 /* MediaControlElements.h */; };
    4075                 ADDF1AD61257CD9A0003A759 /* RenderSVGPath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ADDF1AD41257CD9A0003A759 /* RenderSVGPath.cpp */; };
    40764075                ADDF1AD71257CD9A0003A759 /* RenderSVGPath.h in Headers */ = {isa = PBXBuildFile; fileRef = ADDF1AD51257CD9A0003A759 /* RenderSVGPath.h */; };
    40774076                B0149E7D11A4B21500196A7B /* AsyncImageResizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B0149E7911A4B21500196A7B /* AsyncImageResizer.cpp */; };
     
    2477124770                                D302754D12A5FEAB004BD828 /* RenderSummary.cpp in Sources */,
    2477224771                                0F4E57171313276200CF85AF /* RenderSVGAllInOne.cpp in Sources */,
    24773                                 ADDF1AD61257CD9A0003A759 /* RenderSVGPath.cpp in Sources */,
    2477424772                                A8DF4AEC0980C42C0052981B /* RenderTable.cpp in Sources */,
    2477524773                                A8DF4AEA0980C42C0052981B /* RenderTableCell.cpp in Sources */,
  • trunk/Source/WebCore/gyp/WebCore.gyp

    r81539 r81540  
    6969        ['exclude', 'platform/graphics/cg/FontPlatformData\\.h$'],
    7070        ['exclude', 'platform/graphics/gpu/LoopBlinnPathProcessor\\.(cpp|h)$'],
     71        ['exclude', 'platform/graphics/gpu/LoopBlinnLocalTriangulator\\.(cpp|h)$'],
     72        ['exclude', 'platform/graphics/gpu/LoopBlinnPathCache\\.(cpp|h)$'],
     73        ['exclude', 'platform/graphics/gpu/LoopBlinnShader\\.(cpp|h)$'],
     74        ['exclude', 'platform/graphics/gpu/LoopBlinnSolidFillShader\\.(cpp|h)$'],
    7175        # FIXME: Consider excluding GL as a suffix.
    7276        ['exclude', 'platform/graphics/ImageSource\\.cpp$'],
     
    8185        ['exclude', 'plugins/PluginDatabase\\.cpp$'],
    8286        ['exclude', 'plugins/PluginPackageNone\\.cpp$'],
     87        ['exclude', 'plugins/PluginPackage\\.cpp$'],
    8388        ['exclude', 'plugins/PluginStream\\.cpp$'],
    8489        ['exclude', 'plugins/PluginView\\.cpp$'],
     90        ['exclude', 'plugins/mac/PluginPackageMac\\.cpp$'],
    8591        ['exclude', 'plugins/mac/PluginViewMac\\.mm$'],
    8692        ['exclude', 'plugins/npapi\\.cpp$'],
     
    103109
    104110        ['exclude', 'AllInOne\\.cpp$'],
     111
     112        ['exclude', 'rendering/svg/[^/]+\\.cpp'],
     113        ['include', 'rendering/svg/RenderSVGAllInOne\\.cpp$'],
    105114      ],
    106115      'mac_framework_private_headers': [
     
    144153            'INFOPLIST_FILE': '<(DEPTH)/WebCore/Info.plist',
    145154            'ALWAYS_SEARCH_USER_PATHS': 'NO',
     155            'DEAD_CODE_STRIPPING': 'NO',
    146156          },
    147157        }],
  • trunk/Source/WebCore/platform/mac/WebCoreObjCExtras.mm

    r58272 r81540  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
     28
     29// This file intentionally calls objc_finalizeOnMainThread, which is deprecated.
     30// According to http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
     31// we need to place this directive before any data or functions are defined.
     32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    2833
    2934#include "config.h"
  • trunk/Source/WebCore/rendering/svg/RenderSVGAllInOne.cpp

    r75351 r81540  
    3535#include "RenderSVGInlineText.cpp"
    3636#include "RenderSVGModelObject.cpp"
     37#include "RenderSVGPath.cpp"
    3738#include "RenderSVGResource.cpp"
    3839#include "RenderSVGResourceClipper.cpp"
Note: See TracChangeset for help on using the changeset viewer.