Changeset 79970 in webkit


Ignore:
Timestamp:
Feb 28, 2011 11:06:12 PM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-02-28 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Teach JavaScriptGlue gyp build about DEPTH
https://bugs.webkit.org/show_bug.cgi?id=55421

Moves the previously JavaScriptGlue-specific GYP helper shell scripts
to the gyp directory in Source, where they can be shared by multiple
frameworks.

  • Source/gyp: Added.
  • Source/gyp/remove-headers-if-needed.sh: Copied from Source/JavaScriptGlue/gyp/remove-headers-if-needed.sh.
  • Source/gyp/run-if-exists.sh: Copied from Source/JavaScriptGlue/gyp/run-if-exists.sh.
  • Source/gyp/update-info-plist.sh: Copied from Source/JavaScriptGlue/gyp/update-info-plist.sh.

2011-02-28 Gavin Barraclough <barraclough@apple.com>

Reviewed by Sam Weinig & Darin Adler.

Bug 55423 - Clean up property tables in Structure

Encapsulate, reduce duplication of table search code,
and reduce the size of the tables (remove the index,
just maintain the tables in the correct order).

Shows a 0.5% - 1% progression on sunspider.

  • ForwardingHeaders/wtf/HashTable.h: Added.
Location:
trunk
Files:
1 added
3 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r79945 r79970  
     12011-02-28  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        Teach JavaScriptGlue gyp build about DEPTH
     6        https://bugs.webkit.org/show_bug.cgi?id=55421
     7
     8        Moves the previously JavaScriptGlue-specific GYP helper shell scripts
     9        to the gyp directory in Source, where they can be shared by multiple
     10        frameworks.
     11
     12        * Source/gyp: Added.
     13        * Source/gyp/remove-headers-if-needed.sh: Copied from Source/JavaScriptGlue/gyp/remove-headers-if-needed.sh.
     14        * Source/gyp/run-if-exists.sh: Copied from Source/JavaScriptGlue/gyp/run-if-exists.sh.
     15        * Source/gyp/update-info-plist.sh: Copied from Source/JavaScriptGlue/gyp/update-info-plist.sh.
     16
    1172011-02-28  Benjamin Poulain  <benjamin.poulain@nokia.com>
    218
  • trunk/Source/JavaScriptGlue/ChangeLog

    r79963 r79970  
    1212
    1313        * ForwardingHeaders/wtf/HashTable.h: Added.
     14
     152011-02-28  Adam Barth  <abarth@webkit.org>
     16
     17        Reviewed by Dimitri Glazkov.
     18
     19        Teach JavaScriptGlue gyp build about DEPTH
     20        https://bugs.webkit.org/show_bug.cgi?id=55421
     21
     22        After this path, we should set DEPTH to the Source directory, which is
     23        a common point for all the frameworks that make up WebKit.  These
     24        changes to the GYP teach JavaScriptGlue how to find various files based
     25        on DEPTH rather than based on the location of the xcodeproj file.
     26
     27        * gyp/JavaScriptGlue.gyp:
     28        * gyp/remove-headers-if-needed.sh: Removed.
     29        * gyp/run-if-exists.sh: Removed.
     30        * gyp/update-info-plist.sh: Removed.
    1431
    15322011-02-28  Adam Barth  <abarth@webkit.org>
  • trunk/Source/JavaScriptGlue/gyp/JavaScriptGlue.gyp

    r79905 r79970  
    33    'JavaScriptGlue.gypi',
    44  ],
    5   'xcode_config_file': '../Configurations/DebugRelease.xcconfig',
     5  'xcode_config_file': '<(DEPTH)/JavaScriptGlue/Configurations/DebugRelease.xcconfig',
    66  'targets': [
    77    {
     
    1212      ],
    1313      'include_dirs': [
    14         '..',
    15         '../ForwardingHeaders',
    16         '../icu',
     14        '<(DEPTH)/JavaScriptGlue',
     15        '<(DEPTH)/JavaScriptGlue/ForwardingHeaders',
     16        '<(DEPTH)/JavaScriptGlue/icu',
    1717        '<(PRODUCT_DIR)/include',
    1818      ],
     
    3636          'postbuild_name': 'Check For Global Initializers',
    3737          'action': [
    38             'sh', 'run-if-exists.sh', 'check-for-global-initializers'
     38            'sh', '<(DEPTH)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-global-initializers'
    3939          ],
    4040        },
     
    4242          'postbuild_name': 'Check For Weak VTables and Externals',
    4343          'action': [
    44             'sh', 'run-if-exists.sh', 'check-for-weak-vtables-and-externals'
     44            'sh', '<(DEPTH)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-weak-vtables-and-externals'
    4545          ],
    4646        },
     
    4848          'postbuild_name': 'Remove Headers If Needed',
    4949          'action': [
    50             'sh', 'remove-headers-if-needed.sh'
     50            'sh', '<(DEPTH)/gyp/remove-headers-if-needed.sh'
    5151          ],
    5252        },
     
    5555        ['OS=="mac"', {
    5656          'mac_bundle': 1,
     57          'xcode_settings': {
     58            # FIXME: Remove these overrides once JavaScriptGlue.xcconfig is
     59            # used only by this project.
     60            'INFOPLIST_FILE': '<(DEPTH)/JavaScriptGlue/Info.plist',
     61            'EXPORTED_SYMBOLS_FILE': '<(DEPTH)/JavaScriptGlue/JavaScriptGlue.exp',
     62          },
    5763        }],
    5864      ],
     
    6773          'outputs': [],
    6874          'action': [
    69             'sh', 'update-info-plist.sh'
     75            'sh', '<(DEPTH)/gyp/update-info-plist.sh', '<(DEPTH)/JavaScriptGlue/Info.plist'
    7076          ],
    7177        },
  • trunk/Source/gyp/run-if-exists.sh

    r79923 r79970  
    11#!/bin/sh
    22
    3 if [ -f ../../Tools/Scripts/$1 ]; then
    4     ../../Tools/Scripts/$1 || exit $?;
     3if [ -f $1 ]; then
     4    $1 || exit $?;
    55fi
  • trunk/Source/gyp/update-info-plist.sh

    r79923 r79970  
    11# Touch Info.plist to let Xcode know it needs to copy it into the built product
    22if [[ "${CONFIGURATION}" != "Production" ]]; then
    3     touch "../Info.plist";
     3    touch "$1";
    44fi
Note: See TracChangeset for help on using the changeset viewer.