~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/JavaScriptCore/JavaScriptCore.vcproj/LLIntAssembly/build-LLIntAssembly.sh

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/bash
 
2
 
 
3
SRCROOT="`pwd`/../.."
 
4
SRCROOT=`realpath "$SRCROOT"`
 
5
# Do a little dance to get the path into 8.3 form to make it safe for gnu make
 
6
# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
 
7
SRCROOT=`cygpath -m -s "$SRCROOT"`
 
8
SRCROOT=`cygpath -u "$SRCROOT"`
 
9
export SRCROOT
 
10
 
 
11
XDSTROOT="$1"
 
12
export XDSTROOT
 
13
# Do a little dance to get the path into 8.3 form to make it safe for gnu make
 
14
# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
 
15
XDSTROOT=`cygpath -m -s "$XDSTROOT"`
 
16
XDSTROOT=`cygpath -u "$XDSTROOT"`
 
17
export XDSTROOT
 
18
 
 
19
export BUILT_PRODUCTS_DIR="$XDSTROOT/obj"
 
20
 
 
21
cd "${BUILT_PRODUCTS_DIR}/JavaScriptCore/DerivedSources"
 
22
 
 
23
##############################################################################
 
24
# Step 3: Build LLIntOffsetsExtractor
 
25
 
 
26
/usr/bin/env ruby "${SRCROOT}/offlineasm/asm.rb" "${SRCROOT}/llint/LowLevelInterpreter.asm" "${BUILT_PRODUCTS_DIR}/LLIntOffsetsExtractor/LLIntOffsetsExtractor.exe" "LLIntAssembly.h" || exit 1