Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: webkit/build/JavaScriptCore/build-generated-files.sh

Issue 402054: Revert "Delete a bunch of deprecated and/or empty directores in src/webkit/." (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/build/JSConfig/prebuild.bat ('k') | webkit/build/JavaScriptCore/copy_files.bat » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/bash
2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # This file just sets some paths then defers file creation to
8 # DerivedSources.make.
9 # This file is almost the same as the one found in webkit. The only
10 # difference is that some paths have changed and we don't try to detect
11 # the number of CPUs.
12
13 NUMCPUS=1
14
15 XSRCROOT="`pwd`/../.."
16 XSRCROOT=`realpath "$XSRCROOT"`
17 # Do a little dance to get the path into 8.3 form to make it safe for gnu make
18 # http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
19 XSRCROOT=`cygpath -m -s "$XSRCROOT"`
20 XSRCROOT=`cygpath -u "$XSRCROOT"`
21 export XSRCROOT
22 export SOURCE_ROOT=$XSRCROOT
23
24 XDSTROOT="$1"
25 export XDSTROOT
26 # Do a little dance to get the path into 8.3 form to make it safe for gnu make
27 # http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
28 XDSTROOT=`cygpath -m -s "$XDSTROOT"`
29 XDSTROOT=`cygpath -u "$XDSTROOT"`
30 export XDSTROOT
31
32 SDKROOT="$2"
33 export SDKROOT
34 # Do a little dance to get the path into 8.3 form to make it safe for gnu make
35 # http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
36 SDKROOT=`cygpath -m -s "$SDKROOT"`
37 SDKROOT=`cygpath -u "$SDKROOT"`
38 export SDKROOT
39
40 export BUILT_PRODUCTS_DIR="$XDSTROOT"
41
42 mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources"
43 cd "${BUILT_PRODUCTS_DIR}/DerivedSources"
44
45 export JavaScriptCore="${XSRCROOT}/../third_party/WebKit/JavaScriptCore"
46 export DFTABLES_EXTENSION=".exe"
47 make -f "$JavaScriptCore/DerivedSources.make" -j ${NUMCPUS} || exit 1
OLDNEW
« no previous file with comments | « webkit/build/JSConfig/prebuild.bat ('k') | webkit/build/JavaScriptCore/copy_files.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698