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/build-generated-files.sh | |
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/build-generated-files.sh')
-rwxr-xr-x | webkit/build/JavaScriptCore/build-generated-files.sh | 43 |
1 files changed, 43 insertions, 0 deletions
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 |