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',
79 ['exclude', 'os-win32'],
80 ['exclude', 'wtf/android'],
81 ['exclude', 'wtf/brew'],
82 ['exclude', 'wtf/efl'],
83 ['exclude', 'wtf/gtk'],
84 ['exclude', 'wtf/qt'],
85 ['exclude', 'wtf/haiku'],
86 ['exclude', 'API/tests'],
87 ['exclude', 'wtf/url'],
88 ['exclude', 'wtf/wince'],
89 ['exclude', 'wtf/wx'],
90 ['exclude', 'wtf/unicode/brew'],
91 ['exclude', 'wtf/unicode/wince'],
92 ['exclude', 'wtf/unicode/glib'],
93 ['exclude', 'wtf/unicode/qt4'],
94 ['exclude', '/(gtk|glib|gobject)/.*\\.(cpp|h)$'],
95 ['exclude', '(Default|Gtk|Chromium|None|Qt|Win|Wx|Symbian)\\.(cpp|mm|h)$'],
96 ['exclude', 'GCActivityCallback\.cpp'],
97 ['exclude', '.*BSTR.*$'],
101 'postbuild_name': 'Check For Global Initializers',
103 'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-global-initializers'
107 'postbuild_name': 'Check For Exit Time Destructors',
109 'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-exit-time-destructors'
113 'postbuild_name': 'Check For Weak VTables and Externals',
115 'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-weak-vtables-and-externals'
123 # FIXME: Remove these overrides once JavaScriptCore.xcconfig is
124 # used only by this project.
125 'GCC_PREFIX_HEADER': '<(project_dir)/JavaScriptCorePrefix.h',
126 'INFOPLIST_FILE': '<(project_dir)/Info.plist',
132 'target_name': 'Derived Sources',
136 'action_name': 'Generate Derived Sources',
139 '<@(javascriptcore_derived_source_files)',
142 'sh', 'generate-derived-sources.sh'
146 'action_name': 'Generate DTrace Header',
150 'sh', '<(project_dir)/gyp/generate-dtrace-header.sh', '<(project_dir)'
156 'target_name': 'Update Version',
159 'action_name': 'Update Info.plist with version information',
163 'sh', '<(project_dir)/gyp/update-info-plist.sh', '<(project_dir)/Info.plist'
168 'target_name': 'minidom',
169 'type': 'executable',
173 # FIXME: We should use a header map instead of listing these explicitly.
175 '<@(javascriptcore_include_dirs)',
179 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
182 'destination': '<(PRODUCT_DIR)',
184 '<@(minidom_support_files)',
189 'target_name': 'testapi',
190 'type': 'executable',
194 # FIXME: We should use a header map instead of listing these explicitly.
196 '<@(javascriptcore_include_dirs)',
200 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
203 'destination': '<(PRODUCT_DIR)',
205 '<@(testapi_support_files)',
210 'target_name': 'jsc',
211 'type': 'executable',
215 # FIXME: We should use a header map instead of listing these explicitly.
217 '<@(javascriptcore_include_dirs)',
222 'INSTALL_PATH': '$(JAVASCRIPTCORE_FRAMEWORKS_DIR)/JavaScriptCore.framework/Resources',
228 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
229 '/usr/lib/libedit.dylib',