diff options
author | initial.commit <initial.commit@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-27 00:20:51 +0000 |
---|---|---|
committer | initial.commit <initial.commit@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-27 00:20:51 +0000 |
commit | f5b16fed647e941aa66933178da85db2860d639b (patch) | |
tree | f00e9856c04aad3b558a140955e7674add33f051 /webkit/build/JavaScriptCore | |
parent | 920c091ac3ee15079194c82ae8a7a18215f3f23c (diff) | |
download | chromium_src-f5b16fed647e941aa66933178da85db2860d639b.zip chromium_src-f5b16fed647e941aa66933178da85db2860d639b.tar.gz chromium_src-f5b16fed647e941aa66933178da85db2860d639b.tar.bz2 |
Add webkit to the repository.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build/JavaScriptCore')
-rw-r--r-- | webkit/build/JavaScriptCore/JavaScriptCore.vcproj | 788 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/JavaScriptCore_pcre.vcproj | 163 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/SConscript | 173 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/WTF.vcproj | 299 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/bug_1124849_debug.vsprops | 12 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/bug_1124849_release.vsprops | 12 | ||||
-rwxr-xr-x | webkit/build/JavaScriptCore/build-generated-files.sh | 43 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/copy_files.bat | 30 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/javascriptcore.vsprops | 19 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/prebuild.bat | 27 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/pthread.h | 105 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/sched.h | 39 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/testkjs.vcproj | 149 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/testkjs.vsprops | 17 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/using_javascriptcore.vsprops | 13 | ||||
-rw-r--r-- | webkit/build/JavaScriptCore/wtf.vsprops | 15 |
16 files changed, 1904 insertions, 0 deletions
diff --git a/webkit/build/JavaScriptCore/JavaScriptCore.vcproj b/webkit/build/JavaScriptCore/JavaScriptCore.vcproj new file mode 100644 index 0000000..9af2266 --- /dev/null +++ b/webkit/build/JavaScriptCore/JavaScriptCore.vcproj @@ -0,0 +1,788 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="JavaScriptCore" + ProjectGUID="{011D10F1-B656-4A1B-A0C3-3842F02122C5}" + RootNamespace="JavaScriptCore" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + ConfigurationType="4" + InheritedPropertySheets=".\bug_1124849_debug.vsprops;.\javascriptcore.vsprops;..\precompiled_webkit.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + ConfigurationType="4" + InheritedPropertySheets=".\bug_1124849_release.vsprops;.\javascriptcore.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="KJS" + > + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\Activation.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\array_instance.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\array_instance.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\array_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\array_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\bool_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\bool_object.h" + > + </File> + <File + RelativePath="..\..\pending\kjs\collector.cpp" + > + </File> + <File + RelativePath="..\..\pending\kjs\collector.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\CommonIdentifiers.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\CommonIdentifiers.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\completion.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\config.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\date_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\date_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\DateMath.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\DateMath.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\debugger.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\debugger.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\dtoa.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\dtoa.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\error_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\error_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\ExecState.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\ExecState.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\function.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\function.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\function_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\function_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\identifier.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\identifier.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\internal.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\internal.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\interpreter.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\interpreter.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSGlobalObject.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSImmediate.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSImmediate.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSLock.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSLock.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSVariableObject.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSVariableObject.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSWrapperObject.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\JSWrapperObject.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\lexer.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\lexer.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\list.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\list.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\LocalStorage.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\lookup.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\lookup.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\math_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\math_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\NodeInfo.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\nodes.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\nodes.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\nodes2string.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\number_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\number_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\object_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\object_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\operations.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\operations.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\Parser.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\Parser.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\property_map.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\property_map.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\property_slot.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\property_slot.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\PropertyNameArray.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\PropertyNameArray.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\protect.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\regexp.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\regexp.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\regexp_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\regexp_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\SavedBuiltins.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\scope_chain.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\scope_chain.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\scope_chain_mark.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\simple_number.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\os-win32\stdint.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\string_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\string_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\SymbolTable.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\types.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\ustring.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\ustring.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\value.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\value.h" + > + </File> + </Filter> + <Filter + Name="DerivedSources" + > + <File + RelativePath="$(IntDir)\DerivedSources\array_object.lut.h" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\date_object.lut.h" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\grammar.cpp" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\grammar.h" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\lexer.lut.h" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\math_object.lut.h" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\number_object.lut.h" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\regexp_object.lut.h" + > + </File> + <File + RelativePath="$(IntDir)\DerivedSources\string_object.lut.h" + > + </File> + </Filter> + <Filter + Name="Bindings" + > + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_class.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_class.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_instance.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_instance.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_runtime.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_runtime.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_utility.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\c\c_utility.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\NP_jsobject.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\NP_jsobject.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\npapi.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\npruntime.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\npruntime.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\npruntime_impl.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\npruntime_priv.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_array.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_array.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_method.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_method.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_object.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_object.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_root.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\bindings\runtime_root.h" + > + </File> + </Filter> + <Filter + Name="API" + > + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\APICast.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JavaScript.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JavaScriptCore.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSBase.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSBase.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSCallbackConstructor.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSCallbackConstructor.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSCallbackFunction.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSCallbackFunction.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSCallbackObject.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSCallbackObject.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSClassRef.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSClassRef.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSContextRef.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSContextRef.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSObjectRef.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSObjectRef.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSRetainPtr.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSStringRef.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSStringRef.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSStringRefBSTR.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSStringRefBSTR.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSValueRef.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\API\JSValueRef.h" + > + </File> + </Filter> + <File + RelativePath="..\precompiled_webkit.cc" + > + <FileConfiguration + Name="Debug|Win32" + > + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1" + /> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32" + ExcludedFromBuild="true" + > + <Tool + Name="VCCLCompilerTool" + /> + </FileConfiguration> + </File> + <File + RelativePath="..\precompiled_webkit.h" + > + </File> + <File + RelativePath="..\precompiled_webkit_c.c" + > + <FileConfiguration + Name="Debug|Win32" + > + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1" + PrecompiledHeaderFile="$(IntDir)\precompiled_webkit_c.pch" + /> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32" + ExcludedFromBuild="true" + > + <Tool + Name="VCCLCompilerTool" + /> + </FileConfiguration> + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/webkit/build/JavaScriptCore/JavaScriptCore_pcre.vcproj b/webkit/build/JavaScriptCore/JavaScriptCore_pcre.vcproj new file mode 100644 index 0000000..1092f16 --- /dev/null +++ b/webkit/build/JavaScriptCore/JavaScriptCore_pcre.vcproj @@ -0,0 +1,163 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="JavaScriptCore_pcre" + ProjectGUID="{49909552-0B0C-4C14-8CF6-DB8A2ADE0934}" + RootNamespace="JavaScriptCore_pcre" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + ConfigurationType="4" + InheritedPropertySheets="$(SolutionDir)..\build\debug.vsprops;.\javascriptcore.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + ConfigurationType="4" + InheritedPropertySheets="$(SolutionDir)..\build\release.vsprops;.\javascriptcore.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\pcre\pcre.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\pcre\pcre_compile.cpp" + > + </File> + <File + RelativePath="..\..\pending\pcre_exec.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\pcre\pcre_internal.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\pcre\pcre_tables.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\pcre\pcre_ucp_searchfuncs.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\pcre\pcre_xclass.cpp" + > + </File> + <File + RelativePath=".\prebuild.bat" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\pcre\ucpinternal.h" + > + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/webkit/build/JavaScriptCore/SConscript b/webkit/build/JavaScriptCore/SConscript new file mode 100644 index 0000000..1680584 --- /dev/null +++ b/webkit/build/JavaScriptCore/SConscript @@ -0,0 +1,173 @@ +# Copyright 2008, Google Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following disclaimer
+# in the documentation and/or other materials provided with the
+# distribution.
+# * Neither the name of Google Inc. nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Import('env')
+
+env = env.Clone()
+
+
+cygwin = Dir('#../third_party/cygwin/bin')
+cygwin_posix = cygwin.abspath.replace('\\', '/')
+env.PrependENVPath('PATH', '../third_party/cygwin/bin')
+
+
+hash_table_cmd = '$PERL $CREATE_HASH_TABLE $SOURCE $CREATE_HASH_TABLE_FLAGS > $TARGET'
+
+env.Replace(
+ CREATE_HASH_TABLE_COM = hash_table_cmd,
+ CREATE_HASH_TABLE = env.File('#/../third_party/WebKit/JavascriptCore/kjs/create_hash_table'),
+ CREATE_HASH_TABLE_FLAGS = '-i',
+)
+
+env['BUILDERS']['Lookup_Table_h'] = Builder(action = '$CREATE_HASH_TABLE_COM',
+ suffix = '.lut.h',
+ src_suffix = '.cpp')
+
+
+inputs = [
+ 'array_object',
+ 'date_object',
+ 'math_object',
+ 'number_object',
+ 'regexp_object',
+ 'string_object',
+]
+
+for i in inputs:
+ env.Lookup_Table_h(i, '$KJS_DIR/%s.cpp' % i)
+
+env.Lookup_Table_h('lexer', '$KJS_DIR/keywords.table',
+ CREATE_HASH_TABLE_FLAGS='')
+
+# TODO(bradnelson): sucks, needs relative path
+env.Command('$WEBKIT_DIR/port/JavaScriptCore/chartables.c',
+ '$PCRE_DIR/dftables',
+ '$PERL ../third_party/WebKit/JavaScriptCore/pcre/dftables ' + \
+ '${TARGET.posix}')
+
+# We'd like to do this as follows:
+#env.CXXFile('grammar.cpp', '$KJS_DIR/grammar.y')
+# but SCons has a HARD-WIRED notion that the source must be a .yy file.
+# TODO(bradnelson): not sure why YACCCOM is needed, but fails without
+cpp = env.Command(['grammar.cpp', 'grammar.h'],
+ '$KJS_DIR/grammar.y',
+ '$YACCCOM',
+ YACCCOM = '$YACC $YACCFLAGS -o $TARGET $SOURCES',
+ YACCFLAGS = '-d -p kjsyy')
+env.AddPostAction(cpp, Move('${TARGETS[1]}', '${TARGET.dir}/grammar.hpp'))
+
+copies = [
+ 'API/APICast.h',
+ 'API/JSBase.h',
+ 'API/JSValueRef.h',
+ 'API/JSObjectRef.h',
+ 'API/JSRetainPtr.h',
+ 'API/JSContextRef.h',
+ 'API/JSStringRef.h',
+ 'API/JSStringRefCF.h',
+ 'API/JSStringRefBSTR.h',
+ 'API/JavaScriptCore.h',
+ 'bindings/npruntime.h',
+ 'bindings/runtime.h',
+ 'bindings/np_jsobject.h',
+ 'bindings/npruntime_internal.h',
+ 'bindings/npruntime_impl.h',
+ 'bindings/runtime_object.h',
+ 'bindings/runtime_root.h',
+ 'kjs/JSLock.h',
+ 'kjs/interpreter.h',
+ 'wtf/HashCountedSet.h',
+]
+
+JSCORE_OUT = '$WEBKIT_DIR/scons/WebCore/JavaScriptCore'
+
+for c in copies:
+ i = env.Install(JSCORE_OUT, '$JAVASCRIPTCORE_DIR/' + c)
+ env.Alias('webkit', i)
+
+i = env.Install(JSCORE_OUT, '../../pending/kjs/collector.h')
+env.Alias('webkit', i)
+
+
+# Stuff for WTF
+env = env.Clone(
+ CPPPATH = [
+ '$WEBKIT_DIR/build/JavaScriptCore',
+ '$JAVASCRIPTCORE_DIR',
+ '$JAVASCRIPTCORE_DIR/os-win32',
+ '$JAVASCRIPTCORE_DIR/kjs',
+ '$WTF_DIR',
+ '$JAVASCRIPTCORE_DIR/API',
+ '$JAVASCRIPTCORE_DIR/bindings',
+ '$JAVASCRIPTCORE_DIR/bindings/c',
+ '$JAVASCRIPTCORE_DIR/bindings/jni',
+ '$WEBKIT_DIR/pending',
+ '$WEBKIT_DIR/pending/wtf',
+ '$ICU38_DIR/public/common',
+ '$ICU38_DIR/public/i18n',
+ '$WEBKIT_DIR',
+ '#/..',
+ ],
+)
+
+env.Append(
+ CPPDEFINES = [
+ 'HAVE_CONFIG_H',
+ '__STD_C',
+ 'CRASH=__debugbreak',
+ 'U_STATIC_IMPLEMENTATION',
+ '_WIN32_WINNT=0x0600',
+ 'WINVER=0x0600',
+ 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
+ 'WIN32_LEAN_AND_MEAN',
+ ],
+ CCFLAGS = [
+ '/WX',
+ '/Wp64',
+ '/TP',
+
+ '/wd4127',
+ '/wd4355',
+ '/wd4510',
+ '/wd4512',
+ '/wd4610',
+ '/wd4706',
+ '/wd4503',
+ '/wd4819',
+ ],
+)
+
+wtf_inputs = [
+ '$WTF_DIR/Assertions.cpp',
+ '$WTF_DIR/unicode/UTF8.cpp',
+ '$WTF_DIR/TCSystemAlloc.cpp',
+ '$WTF_DIR/HashTable.cpp',
+]
+
+env.Library('WTF', wtf_inputs)
diff --git a/webkit/build/JavaScriptCore/WTF.vcproj b/webkit/build/JavaScriptCore/WTF.vcproj new file mode 100644 index 0000000..61d9269 --- /dev/null +++ b/webkit/build/JavaScriptCore/WTF.vcproj @@ -0,0 +1,299 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="WTF" + ProjectGUID="{AA8A5A85-592B-4357-BC60-E0E91E026AF6}" + RootNamespace="WTF" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + ConfigurationType="4" + InheritedPropertySheets="$(SolutionDir)..\build\debug.vsprops;..\precompiled_webkit.vsprops;.\wtf.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + ConfigurationType="4" + InheritedPropertySheets="$(SolutionDir)..\build\release.vsprops;.\wtf.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\AlwaysInline.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\Assertions.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\Assertions.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\Deque.h" + > + </File> + <File + RelativePath="..\..\pending\wtf\FastMalloc.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\Forward.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\GetPtr.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\HashCountedSet.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\HashFunctions.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\HashMap.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\HashSet.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\HashTable.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\HashTable.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\HashTraits.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\ListRefPtr.h" + > + </File> + <File + RelativePath="..\..\pending\wtf\MathExtras.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\Noncopyable.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\OwnArrayPtr.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\OwnPtr.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\PassRefPtr.h" + > + </File> + <File + RelativePath="..\..\pending\wtf\Platform.h" + > + </File> + <File + RelativePath="..\precompiled_webkit.cc" + > + <FileConfiguration + Name="Debug|Win32" + > + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1" + /> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32" + ExcludedFromBuild="true" + > + <Tool + Name="VCCLCompilerTool" + /> + </FileConfiguration> + </File> + <File + RelativePath="..\precompiled_webkit.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\RefCounted.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\RefPtr.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\RefPtrHashMap.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\StringExtras.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\TCPackedCache.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\TCPageMap.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\TCSpinLock.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\TCSystemAlloc.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\TCSystemAlloc.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\unicode\Unicode.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\unicode\icu\UnicodeIcu.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\UnusedParam.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\unicode\UTF8.cpp" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\unicode\UTF8.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\Vector.h" + > + </File> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\VectorTraits.h" + > + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/webkit/build/JavaScriptCore/bug_1124849_debug.vsprops b/webkit/build/JavaScriptCore/bug_1124849_debug.vsprops new file mode 100644 index 0000000..a6dafb2 --- /dev/null +++ b/webkit/build/JavaScriptCore/bug_1124849_debug.vsprops @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="bug_1124849_debug" + InheritedPropertySheets="$(SolutionDir)..\build\debug.vsprops" + > + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="_DEBUG;_WIN32_WINNT=0x0600;WINVER=0x0600;WIN32;_WINDOWS;_HAS_EXCEPTIONS=0;NOMINMAX;_CRT_RAND_S;CERT_CHAIN_PARA_HAS_EXTRA_FIELDS;_UNICODE;UNICODE;$(NOINHERIT)" + /> +</VisualStudioPropertySheet> diff --git a/webkit/build/JavaScriptCore/bug_1124849_release.vsprops b/webkit/build/JavaScriptCore/bug_1124849_release.vsprops new file mode 100644 index 0000000..507df45 --- /dev/null +++ b/webkit/build/JavaScriptCore/bug_1124849_release.vsprops @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="bug_1124849_release" + InheritedPropertySheets="$(SolutionDir)..\build\release.vsprops" + > + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="NDEBUG;_WIN32_WINNT=0x0600;WINVER=0x0600;WIN32;_WINDOWS;_HAS_EXCEPTIONS=0;NOMINMAX;_CRT_RAND_S;CERT_CHAIN_PARA_HAS_EXTRA_FIELDS;_UNICODE;UNICODE;$(NOINHERIT)" + /> +</VisualStudioPropertySheet> diff --git a/webkit/build/JavaScriptCore/build-generated-files.sh b/webkit/build/JavaScriptCore/build-generated-files.sh new file mode 100755 index 0000000..520f2f1 --- /dev/null +++ b/webkit/build/JavaScriptCore/build-generated-files.sh @@ -0,0 +1,43 @@ +#!/usr/bin/bash + +# This file just sets some paths then defers file creation to +# DerivedSources.make. +# This file is almost the same as the one found in webkit. The only +# difference is that some paths have changed and we don't try to detect +# the number of CPUs. + +NUMCPUS=1 + +XSRCROOT="`pwd`/../.." +XSRCROOT=`realpath "$XSRCROOT"` +# Do a little dance to get the path into 8.3 form to make it safe for gnu make +# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173 +XSRCROOT=`cygpath -m -s "$XSRCROOT"` +XSRCROOT=`cygpath -u "$XSRCROOT"` +export XSRCROOT +export SOURCE_ROOT=$XSRCROOT + +XDSTROOT="$1" +export XDSTROOT +# Do a little dance to get the path into 8.3 form to make it safe for gnu make +# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173 +XDSTROOT=`cygpath -m -s "$XDSTROOT"` +XDSTROOT=`cygpath -u "$XDSTROOT"` +export XDSTROOT + +SDKROOT="$2" +export SDKROOT +# Do a little dance to get the path into 8.3 form to make it safe for gnu make +# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173 +SDKROOT=`cygpath -m -s "$SDKROOT"` +SDKROOT=`cygpath -u "$SDKROOT"` +export SDKROOT + +export BUILT_PRODUCTS_DIR="$XDSTROOT" + +mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources" +cd "${BUILT_PRODUCTS_DIR}/DerivedSources" + +export JavaScriptCore="${XSRCROOT}/../third_party/WebKit/JavaScriptCore" +export DFTABLES_EXTENSION=".exe" +make -f "$JavaScriptCore/DerivedSources.make" -j ${NUMCPUS} || exit 1 diff --git a/webkit/build/JavaScriptCore/copy_files.bat b/webkit/build/JavaScriptCore/copy_files.bat new file mode 100644 index 0000000..8079609 --- /dev/null +++ b/webkit/build/JavaScriptCore/copy_files.bat @@ -0,0 +1,30 @@ +@echo off + +set DIR=%1 +set JAVASCRIPTCORE_DIR="..\..\..\third_party\WebKit\JavaScriptCore" +setlocal + +mkDIR 2>NUL %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\APICast.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSBase.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSValueRef.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSObjectRef.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSRetainPtr.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSContextRef.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSStringRef.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSStringRefCF.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JSStringRefBSTR.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\API\JavaScriptCore.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\bindings\npruntime.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\bindings\runtime.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\bindings\np_jsobject.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\bindings\npruntime_internal.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\bindings\npruntime_impl.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\bindings\runtime_object.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\bindings\runtime_root.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\kjs\JSLock.h" %DIR% +xcopy /y /d "..\..\pending\kjs\collector.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\kjs\interpreter.h" %DIR% +xcopy /y /d "%JAVASCRIPTCORE_DIR%\wtf\HashCountedSet.h" %DIR% + +endlocal diff --git a/webkit/build/JavaScriptCore/javascriptcore.vsprops b/webkit/build/JavaScriptCore/javascriptcore.vsprops new file mode 100644 index 0000000..58fd97c --- /dev/null +++ b/webkit/build/JavaScriptCore/javascriptcore.vsprops @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="javascriptcore" + InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\third_party\icu38\build\using_icu.vsprops;$(SolutionDir)..\build\external_code.vsprops;.\using_javascriptcore.vsprops" + DeleteExtensionsOnClean="*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;$(TargetPath)" + > + <Tool + Name="VCPreBuildEventTool" + Description="Constructing generated files..." + CommandLine="prebuild.bat $(IntDir) $(OutDir)" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories=""$(ProjectDir)";"$(IntDir)";"$(IntDir)\DerivedSources";../../../third_party/WebKit/JavaScriptCore;"../../../third_party/WebKit/JavaScriptCore/os-win32";../../../third_party/WebKit/JavaScriptCore/pcre;../../../third_party/WebKit/JavaScriptCore/kjs;../../../third_party/WebKit/JavaScriptCore/wtf;../../../third_party/WebKit/JavaScriptCore/API;../../../third_party/WebKit/JavaScriptCore/bindings;../../../third_party/WebKit/JavaScriptCore/bindings/c;../../../third_party/WebKit/JavaScriptCore/bindings/jni;../../pending;../../pending/kjs;../../pending/wtf" + PreprocessorDefinitions="HAVE_CONFIG_H;__STD_C" + /> +</VisualStudioPropertySheet> diff --git a/webkit/build/JavaScriptCore/prebuild.bat b/webkit/build/JavaScriptCore/prebuild.bat new file mode 100644 index 0000000..f17f7dd --- /dev/null +++ b/webkit/build/JavaScriptCore/prebuild.bat @@ -0,0 +1,27 @@ +REM @echo off + +setlocal +set IntDir=%1 +set OutDir=%2 +set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ +set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files + +set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32 + +:: Ensure that the cygwin mount points are defined +CALL %CYGWIN_ROOT%setup_mount.bat > NUL + +:: Help dftables script to find a usable temporary directory. For an unknown +:: reason, /tmp is not defined on cygwin and this script looks at TMPDIR +:: environment variable, which is usually not defined on Windows either. +if "%TMPDIR%" == "" ( + REM It fails in even stranger way if the TEMP folder is not owned by the + REM current user, so create a folder to make sure we are the owner. + set TMPDIR=%TEMP%\javascriptcore_pcre + mkdir %TEMP%\javascriptcore_pcre + bash build-generated-files.sh "%IntDir%" "..\..\..\third_party\WebKit" + rd /q /s %TEMP%\javascriptcore_pcre +) else ( + bash build-generated-files.sh "%IntDir%" "..\..\..\third_party\WebKit" +) +copy_files.bat %IntDir%\JavaScriptCore diff --git a/webkit/build/JavaScriptCore/pthread.h b/webkit/build/JavaScriptCore/pthread.h new file mode 100644 index 0000000..4628e44 --- /dev/null +++ b/webkit/build/JavaScriptCore/pthread.h @@ -0,0 +1,105 @@ +// Copyright 2008, Google Inc. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef CHROME_WEBKIT_BUILD_JAVASCRIPTCORE_PTHREAD_H__ +#define CHROME_WEBKIT_BUILD_JAVASCRIPTCORE_PTHREAD_H__ + +#include <errno.h> +#include "wtf/Assertions.h" + +// Dummy implementations of various pthread APIs + +// ---------------------------------------------------------------------------- +// pthread_t + +typedef int pthread_t; + +inline pthread_t pthread_self() { + return 0; +} +inline int pthread_equal(pthread_t a, pthread_t b) { + return a == b; +} +inline int pthread_create(pthread_t* thread, void*, void* (*)(void*), void*) { + ASSERT_NOT_REACHED(); + return EINVAL; +} +inline int pthread_join(pthread_t thread, void **) { + ASSERT_NOT_REACHED(); + return EINVAL; +} + +// ---------------------------------------------------------------------------- +// pthread_mutex_t + +typedef int pthread_mutex_t; + +inline int pthread_mutex_init(pthread_mutex_t* mutex, const void*) { + return 0; +} +inline int pthread_mutex_destroy(pthread_mutex_t* mutex) { + return 0; +} +inline int pthread_mutex_lock(pthread_mutex_t* mutex) { + return 0; +} + +inline int pthread_mutex_trylock(pthread_mutex_t* mutex) { + return 0; +} + +inline int pthread_mutex_unlock(pthread_mutex_t* mutex) { + return 0; +} + +#define PTHREAD_MUTEX_INITIALIZER 0 + +// +// pthread_cond_t +typedef int pthread_cond_t; + +inline int pthread_cond_init(pthread_cond_t* cond, const void*) { + return 0; +} +inline int pthread_cond_destroy(pthread_cond_t* cond) { + return 0; +} + +inline int pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *) { + return 0; +} +inline int pthread_cond_signal(pthread_cond_t *) { + return 0; +} +inline int pthread_cond_broadcast(pthread_cond_t *) { + return 0; +} + + +#endif // CHROME_WEBKIT_BUILD_JAVASCRIPTCORE_PTHREAD_H__ diff --git a/webkit/build/JavaScriptCore/sched.h b/webkit/build/JavaScriptCore/sched.h new file mode 100644 index 0000000..6684d41 --- /dev/null +++ b/webkit/build/JavaScriptCore/sched.h @@ -0,0 +1,39 @@ +// Copyright 2008, Google Inc. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__ +#define WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__ + +// Dummy implementation of sched.h so WTF will compile. + +inline int sched_yield() { + return 0; +} + +#endif // WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__ diff --git a/webkit/build/JavaScriptCore/testkjs.vcproj b/webkit/build/JavaScriptCore/testkjs.vcproj new file mode 100644 index 0000000..0161da0 --- /dev/null +++ b/webkit/build/JavaScriptCore/testkjs.vcproj @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="testkjs" + ProjectGUID="{5FDEEC10-DC87-4830-9DC6-FC8D2F373E80}" + RootNamespace="testkjs" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + ConfigurationType="1" + InheritedPropertySheets=".\bug_1124849_debug.vsprops;.\testkjs.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + ConfigurationType="1" + InheritedPropertySheets=".\bug_1124849_release.vsprops;.\testkjs.vsprops" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <File + RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\kjs\testkjs.cpp" + > + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/webkit/build/JavaScriptCore/testkjs.vsprops b/webkit/build/JavaScriptCore/testkjs.vsprops new file mode 100644 index 0000000..164d595 --- /dev/null +++ b/webkit/build/JavaScriptCore/testkjs.vsprops @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="testkjs" + InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\third_party\icu38\build\using_icu.vsprops;$(SolutionDir)..\build\external_code.vsprops" + > + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories="../../pending;../../pending/kjs;../../pending/wtf;../../../third_party/WebKit/JavaScriptCore;"../../../third_party/WebKit/JavaScriptCore/os-win32";../../../third_party/WebKit/JavaScriptCore/pcre;../../../third_party/WebKit/JavaScriptCore/wtf" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="winmm.lib" + AdditionalLibraryDirectories=""$(OutDir)\lib"" + /> +</VisualStudioPropertySheet> diff --git a/webkit/build/JavaScriptCore/using_javascriptcore.vsprops b/webkit/build/JavaScriptCore/using_javascriptcore.vsprops new file mode 100644 index 0000000..1261c86 --- /dev/null +++ b/webkit/build/JavaScriptCore/using_javascriptcore.vsprops @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="using_javascriptcore" + > + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories="$(IntDir)\..\JavaScriptCore;$(IntDir)\..\KJSBindings\DerivedSources;$(SolutionDir)..\third_party\WebKit\JavaScriptCore\bindings;$(SolutionDir)..\third_party\WebKit\JavaScriptCore\kjs" + PreprocessorDefinitions="CRASH=__debugbreak" + DisableSpecificWarnings="4127; 4355; 4510; 4512; 4610; 4706" + /> +</VisualStudioPropertySheet> diff --git a/webkit/build/JavaScriptCore/wtf.vsprops b/webkit/build/JavaScriptCore/wtf.vsprops new file mode 100644 index 0000000..f954882 --- /dev/null +++ b/webkit/build/JavaScriptCore/wtf.vsprops @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="wtf" + InheritedPropertySheets="$(SolutionDir)..\third_party\icu38\build\using_icu.vsprops;$(SolutionDir)..\build\common.vsprops" + DeleteExtensionsOnClean="*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;$(TargetPath)" + > + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories="$(ProjectDir);"$(IntDir)";"../../../third_party/WebKit/JavaScriptCore";"../../../third_party/WebKit/JavaScriptCore/os-win32";"../../../third_party/WebKit/JavaScriptCore/kjs";"../../../third_party/WebKit/JavaScriptCore/wtf";"../../../third_party/WebKit/JavaScriptCore/API";"../../../third_party/WebKit/JavaScriptCore/bindings";"../../../third_party/WebKit/JavaScriptCore/bindings/c";"../../../third_party/WebKit/JavaScriptCore/bindings/jni";../../pending;../../pending/wtf" + PreprocessorDefinitions="HAVE_CONFIG_H;__STD_C;_SCL_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;CRASH=__debugbreak" + DisableSpecificWarnings="4127; 4355; 4510; 4512; 4610; 4706" + /> +</VisualStudioPropertySheet> |