Changeset 81655 in webkit


Ignore:
Timestamp:
Mar 22, 2011 3:49:45 AM (13 years ago)
Author:
abarth@webkit.org
Message:

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

Reviewed by Eric Seidel.

Production configuration in GYP isn&apos;t set up correctly
https://bugs.webkit.org/show_bug.cgi?id=56786

Update JavaScriptCore.gyp with information mined from
JavaScriptCore.xcodeproj.

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

Reviewed by Eric Seidel.

Production configuration in GYP isn&apos;t set up correctly
https://bugs.webkit.org/show_bug.cgi?id=56786

Update JavaScriptGlue.gyp with information mined from
JavaScriptGlue.xcodeproj.

  • gyp/JavaScriptGlue.gyp:
  • gyp/JavaScriptGlue.gypi:

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

Reviewed by Eric Seidel.

Production configuration in GYP isn&apos;t set up correctly
https://bugs.webkit.org/show_bug.cgi?id=56786

Update WebCore.gyp with information mined from WebCore.xcodeproj.

  • WebCore.gypi:
  • gyp/WebCore.gyp:
Location:
trunk/Source
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r81649 r81655  
     12011-03-22  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Production configuration in GYP isn&apos;t set up correctly
     6        https://bugs.webkit.org/show_bug.cgi?id=56786
     7
     8        Update JavaScriptCore.gyp with information mined from
     9        JavaScriptCore.xcodeproj.
     10
     11        * JavaScriptCore.gypi:
     12        * gyp/JavaScriptCore.gyp:
     13
    1142011-03-22  Kent Tamura  <tkent@chromium.org>
    215
  • trunk/Source/JavaScriptCore/JavaScriptCore.gypi

    r81610 r81655  
    11{
    22    'variables': {
    3         'project_dir': [ '<(DEPTH)/JavaScriptCore' ],
     3        'project_dir': ['.'],
    44        # These headers are part of JavaScriptCore's public API in the Apple Mac build.
    55        'javascriptcore_publicheader_files': [
  • trunk/Source/JavaScriptCore/gyp/JavaScriptCore.gyp

    r81647 r81655  
    44    '../JavaScriptCore.gypi',
    55  ],
    6   'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
     6  'configurations': {
     7    'Production': {
     8      'xcode_config_file': '<(project_dir)/Configurations/Base.xcconfig',
     9    },
     10    'Release': {
     11      'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
     12      'xcode_settings': {
     13        'STRIP_INSTALLED_PRODUCT': 'NO',
     14      },
     15    },
     16    'Debug': {
     17      'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
     18      'xcode_settings': {
     19        'DEAD_CODE_STRIPPING': '$(DEAD_CODE_STRIPPING_debug)',
     20        'DEBUG_DEFINES': '$(DEBUG_DEFINES_debug)',
     21        'GCC_OPTIMIZATION_LEVEL': '$(GCC_OPTIMIZATION_LEVEL_debug)',
     22        'STRIP_INSTALLED_PRODUCT': '$(STRIP_INSTALLED_PRODUCT_debug)',
     23      },
     24    },
     25  },
    726  'variables': {
    8     # FIXME: We should use a header map instead of listing these explicitly.
    927    'javascriptcore_include_dirs': [
    1028      '<(project_dir)',
     
    3755      'include_dirs': [
    3856        '<@(javascriptcore_include_dirs)',
    39       ],
    40       'configurations': {
    41         'Production': {
    42         },
    43         'Release': {
    44           'xcode_settings': {
    45             'STRIP_INSTALLED_PRODUCT': 'NO',
    46           },
    47         },
    48         'Debug': {
    49           'xcode_settings': {
    50             'DEAD_CODE_STRIPPING': '$(DEAD_CODE_STRIPPING_debug)',
    51             'DEBUG_DEFINES': '$(DEBUG_DEFINES_debug)',
    52             'GCC_OPTIMIZATION_LEVEL': '$(GCC_OPTIMIZATION_LEVEL_debug)',
    53             'STRIP_INSTALLED_PRODUCT': '$(STRIP_INSTALLED_PRODUCT_debug)',
    54           },
    55         },
    56       },
     57        '<(SHARED_INTERMEDIATE_DIR)',
     58      ],
    5759      'sources': [
    5860        '<@(javascriptcore_files)',
     
    214216        '<@(javascriptcore_include_dirs)',
    215217      ],
     218      'configurations': {
     219        'Production': {
     220          'xcode_settings': {
     221            'INSTALL_PATH': '$(JAVASCRIPTCORE_FRAMEWORKS_DIR)/JavaScriptCore.framework/Resources',
     222          },
     223        },
     224      },
    216225      'sources': [
    217226        '<@(jsc_files)',
  • trunk/Source/JavaScriptGlue/ChangeLog

    r81647 r81655  
     12011-03-22  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Production configuration in GYP isn&apos;t set up correctly
     6        https://bugs.webkit.org/show_bug.cgi?id=56786
     7
     8        Update JavaScriptGlue.gyp with information mined from
     9        JavaScriptGlue.xcodeproj.
     10
     11        * gyp/JavaScriptGlue.gyp:
     12        * gyp/JavaScriptGlue.gypi:
     13
    1142011-03-21  Adam Barth  <abarth@webkit.org>
    215
  • trunk/Source/JavaScriptGlue/gyp/JavaScriptGlue.gyp

    r81647 r81655  
    44    'JavaScriptGlue.gypi',
    55  ],
    6   'xcode_config_file': '<(DEPTH)/JavaScriptGlue/Configurations/DebugRelease.xcconfig',
     6  'configurations': {
     7    'Production': {
     8      'xcode_config_file': '<(project_dir)/Configurations/Base.xcconfig',
     9      'xcode_settings': {
     10        'BUILD_VARIANTS': 'normal',
     11        'SECTORDER_FLAGS': [
     12          '-sectorder',
     13          '__TEXT',
     14          '__text',
     15          '$(APPLE_INTERNAL_DIR)/OrderFiles/JavaScriptGlue.order',
     16        ],
     17      },
     18    },
     19    'Release': {
     20      'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
     21      'xcode_settings': {
     22        'COPY_PHASE_STRIP': 'YES',
     23        'GCC_ENABLE_FIX_AND_CONTINUE': 'NO',
     24        'ZERO_LINK': 'NO',
     25        'STRIP_INSTALLED_PRODUCT': 'NO',
     26        'INSTALL_PATH': '$(BUILT_PRODUCTS_DIR)',
     27      },
     28    },
     29    'Debug': {
     30      'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
     31      'xcode_settings': {
     32        'COPY_PHASE_STRIP': 'NO',
     33        'GCC_DYNAMIC_NO_PIC': 'NO',
     34        'DEBUG_DEFINES': '$(DEBUG_DEFINES_debug)',
     35        'GCC_OPTIMIZATION_LEVEL': '$(GCC_OPTIMIZATION_LEVEL_debug)',
     36        'STRIP_INSTALLED_PRODUCT': '$(STRIP_INSTALLED_PRODUCT_debug)',
     37        'INSTALL_PATH': '$(BUILT_PRODUCTS_DIR)',
     38      },
     39    },
     40  },
    741  'targets': [
    842    {
     
    1347      ],
    1448      'include_dirs': [
    15         '<(DEPTH)/JavaScriptGlue/ForwardingHeaders',
    16         '<(DEPTH)/JavaScriptGlue/icu',
     49        '<(project_dir)/ForwardingHeaders',
     50        '<(project_dir)/icu',
    1751        '<(PRODUCT_DIR)/include',
    1852      ],
     
    2458        '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
    2559      ],
    26       'xcode_config_file': '../Configurations/JavaScriptGlue.xcconfig',
     60      'xcode_config_file': '<(project_dir)/Configurations/JavaScriptGlue.xcconfig',
    2761      'postbuilds': [
    2862        {
     
    4983          'mac_bundle': 1,
    5084          'xcode_settings': {
     85            'OTHER_CFLAGS': '-Wno-deprecated-declarations',
    5186            # FIXME: Remove these overrides once JavaScriptGlue.xcconfig is
    5287            # used only by this project.
    53             'INFOPLIST_FILE': '<(DEPTH)/JavaScriptGlue/Info.plist',
    54             'EXPORTED_SYMBOLS_FILE': '<(DEPTH)/JavaScriptGlue/JavaScriptGlue.exp',
     88            'INFOPLIST_FILE': '<(project_dir)/Info.plist',
     89            'EXPORTED_SYMBOLS_FILE': '<(project_dir)/JavaScriptGlue.exp',
    5590          },
    5691        }],
     
    65100         'outputs': [],
    66101         'action': [
    67            'sh', '<(DEPTH)/gyp/update-info-plist.sh', '<(DEPTH)/JavaScriptGlue/Info.plist'
     102           'sh', '<(DEPTH)/gyp/update-info-plist.sh', '<(project_dir)/Info.plist'
    68103          ]
    69104      }],
  • trunk/Source/JavaScriptGlue/gyp/JavaScriptGlue.gypi

    r81567 r81655  
    11{
    22    'variables': {
     3        'project_dir': ['..'],
    34        'javascriptglue_files': [
    45            '../JavaScriptGlue.cpp',
  • trunk/Source/WebCore/ChangeLog

    r81653 r81655  
     12011-03-22  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Production configuration in GYP isn&apos;t set up correctly
     6        https://bugs.webkit.org/show_bug.cgi?id=56786
     7
     8        Update WebCore.gyp with information mined from WebCore.xcodeproj.
     9
     10        * WebCore.gypi:
     11        * gyp/WebCore.gyp:
     12
    1132011-03-22  Ofri Wolfus  <ofri@google.com>
    214
  • trunk/Source/WebCore/WebCore.gypi

    r81623 r81655  
    11{
    22    'variables': {
     3        'project_dir': ['.'],
    34        # These headers are part of WebCore's private API in the Apple Mac build.
    45        'webcore_privateheader_files': [
  • trunk/Source/WebCore/gyp/WebCore.gyp

    r81623 r81655  
    44    '../WebCore.gypi',
    55  ],
    6   'xcode_config_file': '../Configurations/DebugRelease.xcconfig',
     6  'configurations': {
     7    'Production': {
     8      'xcode_config_file': '<(project_dir)/Configurations/Base.xcconfig',
     9    },
     10    'Release': {
     11      'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
     12      'xcode_settings': {
     13        'STRIP_INSTALLED_PRODUCT': 'NO',
     14      },
     15    },
     16    'Debug': {
     17      'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
     18      'xcode_settings': {
     19        'DEAD_CODE_STRIPPING': '$(DEAD_CODE_STRIPPING_debug)',
     20        'DEBUG_DEFINES': '$(DEBUG_DEFINES_debug)',
     21        'GCC_OPTIMIZATION_LEVEL': '$(GCC_OPTIMIZATION_LEVEL_debug)',
     22        'STRIP_INSTALLED_PRODUCT': '$(STRIP_INSTALLED_PRODUCT_debug)',
     23      },
     24    },
     25  },
    726  'targets': [
    827    {
     
    1736      ],
    1837      'include_dirs': [
    19         '<(DEPTH)/WebCore',
    20         '<(DEPTH)/WebCore/icu',
    21         '<(DEPTH)/WebCore/ForwardingHeaders',
     38        '<(project_dir)',
     39        '<(project_dir)/icu',
     40        '<(project_dir)/ForwardingHeaders',
    2241        '<(PRODUCT_DIR)/usr/local/include',
    2342        '/usr/include/libxml2',
     
    2544        '<(PRODUCT_DIR)/DerivedSources/WebCore',
    2645      ],
    27       'configurations': {
    28         'Production': {
    29         },
    30         'Release': {
    31           'xcode_settings': {
    32             'STRIP_INSTALLED_PRODUCT': 'NO',
    33           },
    34         },
    35         'Debug': {
    36           'xcode_settings': {
    37             'DEAD_CODE_STRIPPING': '$(DEAD_CODE_STRIPPING_debug)',
    38             'DEBUG_DEFINES': '$(DEBUG_DEFINES_debug)',
    39             'GCC_OPTIMIZATION_LEVEL': '$(GCC_OPTIMIZATION_LEVEL_debug)',
    40             'STRIP_INSTALLED_PRODUCT': '$(STRIP_INSTALLED_PRODUCT_debug)',
    41           },
    42         },
    43       },
    4446      'sources': [
    4547        '<@(webcore_files)',
     
    133135        '<@(webcore_privateheader_files)',
    134136      ],
    135       'xcode_config_file': '../Configurations/WebCore.xcconfig',
     137      'xcode_config_file': '<(project_dir)/Configurations/WebCore.xcconfig',
    136138      # FIXME: A number of these actions aren't supposed to run if "${ACTION}" = "installhdrs"
    137139      'postbuilds': [
     
    167169            # FIXME: Remove these overrides once WebCore.xcconfig is
    168170            # used only by this project.
    169             'GCC_PREFIX_HEADER': '<(DEPTH)/WebCore/WebCorePrefix.h',
    170             'INFOPLIST_FILE': '<(DEPTH)/WebCore/Info.plist',
     171            'GCC_PREFIX_HEADER': '<(project_dir)/WebCorePrefix.h',
     172            'INFOPLIST_FILE': '<(project_dir)/Info.plist',
    171173            'ALWAYS_SEARCH_USER_PATHS': 'NO',
    172174          },
     
    197199         'outputs': [],
    198200         'action': [
    199            'sh', '<(DEPTH)/gyp/update-info-plist.sh', '<(DEPTH)/WebCore/Info.plist'
     201           'sh', '<(DEPTH)/gyp/update-info-plist.sh', '<(project_dir)/Info.plist'
    200202          ]
    201203      }],
     
    207209        'action_name': 'Generate Export File Generator',
    208210        'inputs': [
    209           '<(DEPTH)/WebCore/WebCore.exp.in',
     211          '<(project_dir)/WebCore.exp.in',
    210212        ],
    211213        'outputs': [
     
    224226      ],
    225227      'include_dirs': [
    226         '<(DEPTH)/WebCore/ForwardingHeaders',
    227       ],
     228        '<(project_dir)/ForwardingHeaders',
     229      ],
     230      'xcode_config_file': '<(project_dir)/Configurations/WebCore.xcconfig',
     231      'configurations': {
     232        'Production': {
     233            'EXPORTED_SYMBOLS_FILE': '',
     234            'GCC_OPTIMIZATION_LEVEL': '0',
     235            'INSTALL_PATH': '/usr/local/bin',
     236            'OTHER_LDFLAGS': '',
     237            'SKIP_INSTALL': 'YES',
     238        },
     239        'Release': {
     240          'xcode_settings': {
     241            'EXPORTED_SYMBOLS_FILE': '',
     242            'GCC_OPTIMIZATION_LEVEL': '0',
     243            'INSTALL_PATH': '/usr/local/bin',
     244            'OTHER_LDFLAGS': '',
     245            'SKIP_INSTALL': 'YES',
     246          },
     247        },
     248        'Debug': {
     249          'xcode_settings': {
     250            'EXPORTED_SYMBOLS_FILE': '',
     251            'GCC_OPTIMIZATION_LEVEL': '0',
     252            'INSTALL_PATH': '/usr/local/bin',
     253            'OTHER_LDFLAGS': '',
     254            'SKIP_INSTALL': 'YES',
     255          },
     256        },
     257      },
    228258      'sources': [
    229259        '<@(export_file_generator_files)',
  • trunk/Source/gyp/common.gypi

    r80387 r81655  
    22  'target_defaults': {
    33    'configurations': {
     4      'Production': {},
     5      'Release': {},
    46      'Debug': {},
    5       'Release': {},
    6       'Production': {},
    77    },
    8     'default_configuration': 'Debug',
    98  },
     9  'default_configuration': 'Production',
    1010}
Note: See TracChangeset for help on using the changeset viewer.