diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 18:27:38 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 18:27:38 +0000 |
commit | 7bcfbb4296c517f0c6f27c23065065a0b5568b59 (patch) | |
tree | d0e804359a9bd9e0f697751d624be5d53215b6b4 /webkit/build/JavaScriptCore/prebuild.bat | |
parent | ab5b9a361b7e6674c04071fa63dc2fce8491b196 (diff) | |
download | chromium_src-7bcfbb4296c517f0c6f27c23065065a0b5568b59.zip chromium_src-7bcfbb4296c517f0c6f27c23065065a0b5568b59.tar.gz chromium_src-7bcfbb4296c517f0c6f27c23065065a0b5568b59.tar.bz2 |
Revert "Delete a bunch of deprecated and/or empty directores in src/webkit/."
This reverts commit r32340.
TBR=japhet
Review URL: http://codereview.chromium.org/402054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build/JavaScriptCore/prebuild.bat')
-rw-r--r-- | webkit/build/JavaScriptCore/prebuild.bat | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/webkit/build/JavaScriptCore/prebuild.bat b/webkit/build/JavaScriptCore/prebuild.bat new file mode 100644 index 0000000..fd7b878 --- /dev/null +++ b/webkit/build/JavaScriptCore/prebuild.bat @@ -0,0 +1,32 @@ +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 + +:: Fix tempfile() on vista: without this flag, the files that it creates are not accessible. +set CYGWIN=nontsec + +:: 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" +) + +call copy_files.bat %IntDir%\JavaScriptCore +endlocal |