3     '../../gyp/common.gypi',
 
   4     '../JavaScriptCore.gypi',
 
   8       'xcode_config_file': '<(project_dir)/Configurations/Base.xcconfig',
 
  11       'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
 
  13         'STRIP_INSTALLED_PRODUCT': 'NO',
 
  17       'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
 
  19         'STRIP_INSTALLED_PRODUCT': 'NO',
 
  23       'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
 
  25         'DEAD_CODE_STRIPPING': '$(DEAD_CODE_STRIPPING_debug)',
 
  26         'DEBUG_DEFINES': '$(DEBUG_DEFINES_debug)',
 
  27         'GCC_OPTIMIZATION_LEVEL': '$(GCC_OPTIMIZATION_LEVEL_debug)',
 
  28         'STRIP_INSTALLED_PRODUCT': '$(STRIP_INSTALLED_PRODUCT_debug)',
 
  33     'javascriptcore_include_dirs': [
 
  45       'target_name': 'JavaScriptCore',
 
  46       'type': 'shared_library',
 
  52         '<@(javascriptcore_include_dirs)',
 
  53         '<(PRODUCT_DIR)/DerivedSources/JavaScriptCore',
 
  57           'INSTALL_PATH': '$(BUILT_PRODUCTS_DIR)',
 
  61         '<@(javascriptcore_files)',
 
  62         '<@(javascriptcore_publicheader_files)',
 
  63         '<@(javascriptcore_privateheader_files)',
 
  64         '<@(javascriptcore_derived_source_files)',
 
  65         '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
 
  66         '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
 
  67         '/usr/lib/libicucore.dylib',
 
  68         '/usr/lib/libobjc.dylib',
 
  70       'mac_framework_headers': [
 
  71         '<@(javascriptcore_publicheader_files)',
 
  73       'mac_framework_private_headers': [
 
  74         '<@(javascriptcore_privateheader_files)',
 
  76       'xcode_config_file': '<(project_dir)/Configurations/JavaScriptCore.xcconfig',
 
  78         ['exclude', 'API/tests/'],
 
  79         ['exclude', 'ForwardingHeaders/'],
 
  80         ['exclude', '(?<!unicode)/icu/'],
 
  81         ['exclude', 'os-win32/'],
 
  83         ['exclude', 'wtf/(android|brew|efl|gtk|haiku|qt|wince|wx)/'],
 
  84         ['exclude', 'wtf/unicode/brew/'],
 
  85         ['exclude', 'wtf/unicode/glib/'],
 
  86         ['exclude', 'wtf/unicode/qt4/'],
 
  87         ['exclude', 'wtf/unicode/wince/'],
 
  88         ['exclude', 'wtf/url/'],
 
  89         ['exclude', '/(gtk|glib|gobject)/.*\\.(cpp|h)$'],
 
  90         ['exclude', '(Default|Gtk|Chromium|None|Qt|Win|Wx|Symbian)\\.(cpp|mm|h)$'],
 
  91         ['exclude', 'GCActivityCallback\.cpp$'],
 
  92         ['exclude', 'BSTR[^/]*$'],
 
  96           'postbuild_name': 'Check For Global Initializers',
 
  98             'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-global-initializers'
 
 102           'postbuild_name': 'Check For Exit Time Destructors',
 
 104             'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-exit-time-destructors'
 
 108           'postbuild_name': 'Check For Weak VTables and Externals',
 
 110             'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-weak-vtables-and-externals'
 
 118             # FIXME: Remove these overrides once JavaScriptCore.xcconfig is
 
 119             # used only by this project.
 
 120             'GCC_PREFIX_HEADER': '<(project_dir)/JavaScriptCorePrefix.h',
 
 121             'INFOPLIST_FILE': '<(project_dir)/Info.plist',
 
 127       'target_name': 'Derived Sources',
 
 131           'action_name': 'Generate Derived Sources',
 
 134             '<@(javascriptcore_derived_source_files)',
 
 137             'sh', 'generate-derived-sources.sh'
 
 141           'action_name': 'Generate DTrace Header',
 
 145              'sh', '<(project_dir)/gyp/generate-dtrace-header.sh', '<(project_dir)'
 
 151       'target_name': 'Update Version',
 
 154         'action_name': 'Update Info.plist with version information',
 
 158            'sh', '<(project_dir)/gyp/update-info-plist.sh', '<(project_dir)/Info.plist'
 
 163       'target_name': 'minidom',
 
 164       'type': 'executable',
 
 168       # FIXME: We should use a header map instead of listing these explicitly.
 
 170         '<@(javascriptcore_include_dirs)',
 
 174         '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
 
 177         'destination': '<(PRODUCT_DIR)',
 
 179           '<@(minidom_support_files)',
 
 184       'target_name': 'testapi',
 
 185       'type': 'executable',
 
 189       # FIXME: We should use a header map instead of listing these explicitly.
 
 191         '<@(javascriptcore_include_dirs)',
 
 195         '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
 
 198         'destination': '<(PRODUCT_DIR)',
 
 200           '<@(testapi_support_files)',
 
 205       'target_name': 'jsc',
 
 206       'type': 'executable',
 
 210       # FIXME: We should use a header map instead of listing these explicitly.
 
 212         '<@(javascriptcore_include_dirs)',
 
 217             'INSTALL_PATH': '$(JAVASCRIPTCORE_FRAMEWORKS_DIR)/JavaScriptCore.framework/Resources',
 
 223         '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
 
 224         '/usr/lib/libedit.dylib',