OLD | NEW |
(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 XSRCROOT="$1" |
| 8 # Do a little dance to get the path into 8.3 form to make it safe for gnu make |
| 9 # http://bugzilla.opendarwin.org/show_bug.cgi?id=8173 |
| 10 XSRCROOT=`cygpath -m -s "$XSRCROOT"` |
| 11 XSRCROOT=`cygpath -u "$XSRCROOT"` |
| 12 export XSRCROOT |
| 13 export SOURCE_ROOT=$XSRCROOT |
| 14 |
| 15 PORTROOT="$2" |
| 16 PORTROOT=`cygpath -m -s "$PORTROOT"` |
| 17 PORTROOT=`cygpath -u "$PORTROOT"` |
| 18 export PORTROOT=`realpath "$PORTROOT"` |
| 19 |
| 20 XDSTROOT="$3" |
| 21 export XDSTROOT |
| 22 # Do a little dance to get the path into 8.3 form to make it safe for gnu make |
| 23 # http://bugzilla.opendarwin.org/show_bug.cgi?id=8173 |
| 24 XDSTROOT=`cygpath -m -s "$XDSTROOT"` |
| 25 XDSTROOT=`cygpath -u "$XDSTROOT"` |
| 26 export XDSTROOT |
| 27 |
| 28 export BUILT_PRODUCTS_DIR="$4" |
| 29 export CREATE_HASH_TABLE="$XSRCROOT/../JavaScriptCore/create_hash_table" |
| 30 |
| 31 DerivedSourcesDir="${BUILT_PRODUCTS_DIR}\DerivedSources" |
| 32 echo "$DerivedSourcesDir" |
| 33 mkdir -p "$DerivedSourcesDir" |
| 34 cd "$DerivedSourcesDir" |
| 35 |
| 36 export WebCore="${XSRCROOT}" |
| 37 export ENCODINGS_FILE="${WebCore}/platform/win/win-encodings.txt"; |
| 38 export ENCODINGS_PREFIX="" |
| 39 |
| 40 # To see what FEATURE_DEFINES Apple uses, look at: |
| 41 # webkit/third_party/WebCore/Configurations/WebCore.xcconfig |
| 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" |
| 43 |
| 44 make -f "$WebCore/DerivedSources.make" -j 2 || exit 1 |
OLD | NEW |