Changeset 81695 in webkit


Ignore:
Timestamp:
Mar 22, 2011 2:07:18 PM (13 years ago)
Author:
abarth@webkit.org
Message:

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

Reviewed by Eric Seidel.

WebCore GYP build should build without help from normal WebCore build
https://bugs.webkit.org/show_bug.cgi?id=56860

Before this patch, the WebCore GYP build wasn't generating the derived
sources quite right because the ENABLE macros were not being
communicated to the "Derived Sources" target.

This patch also adds the "Copy Forwarding and ICU Headers" as well as
the "Streamline Inspector Source" steps, which are present in the
normal build. Unlike the normal build, these steps occur in a new
target, called "WebCore Support", which is less than aesthetically
beautiful. Hopefully we'll be able to move them into the WebCore
target proper in the future, but that will likely require some GYP
changes.

This patch probably could have been broken down into a couple smaller
patches, but that doesn't seem necessary.

  • WebCore.gypi:
    • This file appears to no longer exist.
  • gyp/WebCore.gyp:
  • gyp/copy-forwarding-and-icu-headers.sh: Added.
  • gyp/streamline-inspector-source.sh: Added.
Location:
trunk/Source/WebCore
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r81691 r81695  
     12011-03-22  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        WebCore GYP build should build without help from normal WebCore build
     6        https://bugs.webkit.org/show_bug.cgi?id=56860
     7
     8        Before this patch, the WebCore GYP build wasn't generating the derived
     9        sources quite right because the ENABLE macros were not being
     10        communicated to the "Derived Sources" target.
     11
     12        This patch also adds the "Copy Forwarding and ICU Headers" as well as
     13        the "Streamline Inspector Source" steps, which are present in the
     14        normal build.  Unlike the normal build, these steps occur in a new
     15        target, called "WebCore Support", which is less than aesthetically
     16        beautiful.  Hopefully we'll be able to move them into the WebCore
     17        target proper in the future, but that will likely require some GYP
     18        changes.
     19
     20        This patch probably could have been broken down into a couple smaller
     21        patches, but that doesn't seem necessary.
     22
     23        * WebCore.gypi:
     24            - This file appears to no longer exist.
     25        * gyp/WebCore.gyp:
     26        * gyp/copy-forwarding-and-icu-headers.sh: Added.
     27        * gyp/streamline-inspector-source.sh: Added.
     28
    1292011-03-22  David Hyatt  <hyatt@apple.com>
    230
  • trunk/Source/WebCore/WebCore.gypi

    r81684 r81695  
    7070            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMHTMLFormElement.h',
    7171            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMHTMLFrameElement.h',
    72             '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMHTMLFrameElementPrivate.h',
    7372            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMHTMLFrameSetElement.h',
    7473            '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMHTMLHRElement.h',
  • trunk/Source/WebCore/gyp/WebCore.gyp

    r81655 r81695  
    136136      ],
    137137      'xcode_config_file': '<(project_dir)/Configurations/WebCore.xcconfig',
     138      'actions': [
     139        {
     140          'action_name': 'Copy Forwarding and ICU Headers',
     141          'inputs': [],
     142          'outputs': [],
     143          'action': [
     144            'sh', '<(project_dir)/gyp/copy-forwarding-and-icu-headers.sh'
     145          ],
     146        },
     147        {
     148          'action_name': 'Streamline Inspector Source',
     149          'inputs': [],
     150          'outputs': [],
     151          'action': [
     152            'sh', '<(project_dir)/gyp/streamline-inspector-source.sh'
     153          ],
     154        },
     155      ],
    138156      # FIXME: A number of these actions aren't supposed to run if "${ACTION}" = "installhdrs"
    139157      'postbuilds': [
     
    182200        'WebCoreExportFileGenerator',
    183201      ],
     202      'xcode_config_file': '<(project_dir)/Configurations/WebCore.xcconfig',
    184203      'actions': [{
    185204        'action_name': 'Generate Derived Sources',
     
    215234        ],
    216235        'action': [
    217           'sh', 'generate-webcore-export-file-generator.sh',
     236          'sh', '<(project_dir)/gyp/generate-webcore-export-file-generator.sh',
    218237        ],
    219238      }],
     
    259278        '<@(export_file_generator_files)',
    260279      ],
    261     }
     280      'conditions': [
     281        ['OS=="mac"', {
     282          'xcode_settings': {
     283            # FIXME: Remove these overrides once WebCore.xcconfig is
     284            # used only by this project.
     285            'GCC_PREFIX_HEADER': '<(project_dir)/WebCorePrefix.h',
     286            'INFOPLIST_FILE': '<(project_dir)/Info.plist',
     287          },
     288        }],
     289      ],
     290    },
    262291  ], # targets
    263292}
Note: See TracChangeset for help on using the changeset viewer.