OLD | NEW |
1 #!/usr/bin/bash | 1 #!/usr/bin/bash |
2 | 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 |
3 # This file just sets some paths then defers file creation to | 7 # This file just sets some paths then defers file creation to |
4 # DerivedSources.make. | 8 # DerivedSources.make. |
5 # This file is almost the same as the one found in webkit. The only | 9 # This file is almost the same as the one found in webkit. The only |
6 # difference is that some paths have changed and we don't try to detect | 10 # difference is that some paths have changed and we don't try to detect |
7 # the number of CPUs. | 11 # the number of CPUs. |
8 | 12 |
9 NUMCPUS=1 | 13 NUMCPUS=1 |
10 | 14 |
11 XSRCROOT="`pwd`/../.." | 15 XSRCROOT="`pwd`/../.." |
12 XSRCROOT=`realpath "$XSRCROOT"` | 16 XSRCROOT=`realpath "$XSRCROOT"` |
(...skipping 21 matching lines...) Expand all Loading... |
34 export SDKROOT | 38 export SDKROOT |
35 | 39 |
36 export BUILT_PRODUCTS_DIR="$XDSTROOT" | 40 export BUILT_PRODUCTS_DIR="$XDSTROOT" |
37 | 41 |
38 mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources" | 42 mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources" |
39 cd "${BUILT_PRODUCTS_DIR}/DerivedSources" | 43 cd "${BUILT_PRODUCTS_DIR}/DerivedSources" |
40 | 44 |
41 export JavaScriptCore="${XSRCROOT}/../third_party/WebKit/JavaScriptCore" | 45 export JavaScriptCore="${XSRCROOT}/../third_party/WebKit/JavaScriptCore" |
42 export DFTABLES_EXTENSION=".exe" | 46 export DFTABLES_EXTENSION=".exe" |
43 make -f "$JavaScriptCore/DerivedSources.make" -j ${NUMCPUS} || exit 1 | 47 make -f "$JavaScriptCore/DerivedSources.make" -j ${NUMCPUS} || exit 1 |
OLD | NEW |