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/(efl|gtk|qt|wince|wx)/'],
84 ['exclude', 'wtf/unicode/glib/'],
85 ['exclude', 'wtf/unicode/qt4/'],
86 ['exclude', 'wtf/unicode/wince/'],
87 ['exclude', 'wtf/url/'],
88 ['exclude', '/(gtk|glib|gobject)/.*\\.(cpp|h)$'],
89 ['exclude', '(Default|Gtk|Chromium|None|Qt|Win|Wx|Symbian)\\.(cpp|mm|h)$'],
90 ['exclude', 'GCActivityCallback\.cpp$'],
91 ['exclude', 'BSTR[^/]*$'],
95 'postbuild_name': 'Check For Global Initializers',
97 'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-global-initializers'
101 'postbuild_name': 'Check For Exit Time Destructors',
103 'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-exit-time-destructors'
107 'postbuild_name': 'Check For Weak VTables and Externals',
109 'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-weak-vtables-and-externals'
117 # FIXME: Remove these overrides once JavaScriptCore.xcconfig is
118 # used only by this project.
119 'GCC_PREFIX_HEADER': '<(project_dir)/JavaScriptCorePrefix.h',
120 'INFOPLIST_FILE': '<(project_dir)/Info.plist',
126 'target_name': 'Derived Sources',
130 'action_name': 'Generate Derived Sources',
133 '<@(javascriptcore_derived_source_files)',
136 'sh', 'generate-derived-sources.sh'
140 'action_name': 'Generate DTrace Header',
144 'sh', '<(project_dir)/gyp/generate-dtrace-header.sh', '<(project_dir)'
150 'target_name': 'Update Version',
153 'action_name': 'Update Info.plist with version information',
157 'sh', '<(project_dir)/gyp/update-info-plist.sh', '<(project_dir)/Info.plist'
162 'target_name': 'minidom',
163 'type': 'executable',
167 # FIXME: We should use a header map instead of listing these explicitly.
169 '<@(javascriptcore_include_dirs)',
173 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
176 'destination': '<(PRODUCT_DIR)',
178 '<@(minidom_support_files)',
183 'target_name': 'testapi',
184 'type': 'executable',
188 # FIXME: We should use a header map instead of listing these explicitly.
190 '<@(javascriptcore_include_dirs)',
194 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
197 'destination': '<(PRODUCT_DIR)',
199 '<@(testapi_support_files)',
204 'target_name': 'jsc',
205 'type': 'executable',
209 # FIXME: We should use a header map instead of listing these explicitly.
211 '<@(javascriptcore_include_dirs)',
216 'INSTALL_PATH': '$(JAVASCRIPTCORE_FRAMEWORKS_DIR)/JavaScriptCore.framework/Resources',
222 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
223 '/usr/lib/libedit.dylib',