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 XSRCROOT="$1" | 7 XSRCROOT="$1" |
4 # Do a little dance to get the path into 8.3 form to make it safe for gnu make | 8 # Do a little dance to get the path into 8.3 form to make it safe for gnu make |
5 # http://bugzilla.opendarwin.org/show_bug.cgi?id=8173 | 9 # http://bugzilla.opendarwin.org/show_bug.cgi?id=8173 |
6 XSRCROOT=`cygpath -m -s "$XSRCROOT"` | 10 XSRCROOT=`cygpath -m -s "$XSRCROOT"` |
7 XSRCROOT=`cygpath -u "$XSRCROOT"` | 11 XSRCROOT=`cygpath -u "$XSRCROOT"` |
8 export XSRCROOT | 12 export XSRCROOT |
9 export SOURCE_ROOT=$XSRCROOT | 13 export SOURCE_ROOT=$XSRCROOT |
10 | 14 |
11 PORTROOT="$2" | 15 PORTROOT="$2" |
12 PORTROOT=`cygpath -m -s "$PORTROOT"` | 16 PORTROOT=`cygpath -m -s "$PORTROOT"` |
(...skipping 18 matching lines...) Expand all Loading... |
31 | 35 |
32 export WebCore="${XSRCROOT}" | 36 export WebCore="${XSRCROOT}" |
33 export ENCODINGS_FILE="${WebCore}/platform/win/win-encodings.txt"; | 37 export ENCODINGS_FILE="${WebCore}/platform/win/win-encodings.txt"; |
34 export ENCODINGS_PREFIX="" | 38 export ENCODINGS_PREFIX="" |
35 | 39 |
36 # To see what FEATURE_DEFINES Apple uses, look at: | 40 # To see what FEATURE_DEFINES Apple uses, look at: |
37 # webkit/third_party/WebCore/Configurations/WebCore.xcconfig | 41 # webkit/third_party/WebCore/Configurations/WebCore.xcconfig |
38 export FEATURE_DEFINES="ENABLE_SVG ENABLE_SVG_ANIMATION ENABLE_SVG_AS_IMAGE ENAB
LE_SVG_FONTS ENABLE_SVG_FOREIGN_OBJECT ENABLE_SVG_USE ENABLE_XPATH ENABLE_XSLT" | 42 export FEATURE_DEFINES="ENABLE_SVG ENABLE_SVG_ANIMATION ENABLE_SVG_AS_IMAGE ENAB
LE_SVG_FONTS ENABLE_SVG_FOREIGN_OBJECT ENABLE_SVG_USE ENABLE_XPATH ENABLE_XSLT" |
39 | 43 |
40 make -f "$WebCore/DerivedSources.make" -j 2 || exit 1 | 44 make -f "$WebCore/DerivedSources.make" -j 2 || exit 1 |
OLD | NEW |