Changeset 80368 in webkit


Ignore:
Timestamp:
Mar 4, 2011 11:21:20 AM (13 years ago)
Author:
abarth@webkit.org
Message:

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

Reviewed by Dimitri Glazkov.

JavaScriptCore GYP build should use a header map
https://bugs.webkit.org/show_bug.cgi?id=55712

This patch moves the os-win32 files into their own variable so that we
can use a header map in the Apple Mac Xcode build. The problem is that
the header map searches the whole project rather than just the files
included in a given target. Another solution to this problem is to
make GYP smarter about filtering out what files are added to the
project file.

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r80328 r80368  
     12011-03-04  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        JavaScriptCore GYP build should use a header map
     6        https://bugs.webkit.org/show_bug.cgi?id=55712
     7
     8        This patch moves the os-win32 files into their own variable so that we
     9        can use a header map in the Apple Mac Xcode build.  The problem is that
     10        the header map searches the whole project rather than just the files
     11        included in a given target.  Another solution to this problem is to
     12        make GYP smarter about filtering out what files are added to the
     13        project file.
     14
     15        * JavaScriptCore.gypi:
     16        * gyp/JavaScriptCore.gyp:
     17
    1182011-03-03  Ryosuke Niwa  <rniwa@webkit.org>
    219
  • trunk/Source/JavaScriptCore/JavaScriptCore.gypi

    r80323 r80368  
    352352            'jit/SpecializedThunkJIT.h',
    353353            'jit/ThunkGenerators.cpp',
    354             'os-win32/WinMain.cpp',
    355             'os-win32/inttypes.h',
    356             'os-win32/stdbool.h',
    357             'os-win32/stdint.h',
    358354            'parser/ASTBuilder.h',
    359355            'parser/JSParser.cpp',
     
    659655            'yarr/YarrSyntaxChecker.h',
    660656        ],
     657        # These files are separate from javascriptcore_files so we can use a
     658        # header map in the Apple Mac Xcode build.
     659        'os_win32_files': [
     660            'os-win32/WinMain.cpp',
     661            'os-win32/inttypes.h',
     662            'os-win32/stdbool.h',
     663            'os-win32/stdint.h',
     664        ],
    661665        'minidom_files': [
    662666            'API/tests/JSNode.c',
  • trunk/Source/JavaScriptCore/gyp/JavaScriptCore.gyp

    r80323 r80368  
    110110          'mac_bundle': 1,
    111111          'xcode_settings': {
    112             'USE_HEADERMAP': 'NO',
    113112            # FIXME: Remove these overrides once JavaScriptCore.xcconfig is
    114113            # used only by this project.
     
    196195      },
    197196      'default_configuration': 'Debug',
    198       'conditions': [
    199         ['OS=="mac"', {
    200           'xcode_settings': {
    201             'USE_HEADERMAP': 'NO',
    202           }
    203         }],
    204       ],
    205197    },
    206198    {
     
    224216      },
    225217      'default_configuration': 'Debug',
    226       'conditions': [
    227         ['OS=="mac"', {
    228           'xcode_settings': {
    229             'USE_HEADERMAP': 'NO',
    230           }
    231         }],
    232       ],
    233218    },
    234219    {
     
    253238      },
    254239      'default_configuration': 'Debug',
    255       'conditions': [
    256         ['OS=="mac"', {
    257           'xcode_settings': {
    258             'USE_HEADERMAP': 'NO',
    259           }
    260         }],
    261       ],
    262240    },
    263241  ], # targets
Note: See TracChangeset for help on using the changeset viewer.