blob: dcbc5b329b327bbece7b757e9a1e2f88d7f2e8fc [file] [log] [blame]
The Android Open Source Project55a2c712009-03-03 19:29:09 -08001#!/bin/bash
2
Raphael63316322009-07-10 19:49:31 -04003HOST=`uname`
4if [ "${HOST:0:6}" == "CYGWIN" ]; then
5 if [ "x$1" == "x" ] || [ `basename "$1"` != "layoutlib.jar" ]; then
6 echo "Usage: $0 sdk/platforms/xxx/data/layoutlib.jar"
7 echo "Argument 1 should be the path to the layoutlib.jar that should be updated by create_bridge_symlinks.sh."
8 exit 1
9 fi
10fi
11
The Android Open Source Project55a2c712009-03-03 19:29:09 -080012echo "### $0 executing"
13
14function die() {
15 echo "Error: $*"
16 exit 1
17}
18
19# CD to the top android directory
20D=`dirname "$0"`
21cd "$D/../../../../"
22
23DEST="development/tools/eclipse/scripts"
24
25set -e # fail early
26
27echo ; echo "### ADT ###" ; echo
28$DEST/create_adt_symlinks.sh "$*"
29echo ; echo "### DDMS ###" ; echo
30$DEST/create_ddms_symlinks.sh "$*"
31echo ; echo "### TEST ###" ; echo
32$DEST/create_test_symlinks.sh "$*"
33echo ; echo "### BRIDGE ###" ; echo
34$DEST/create_bridge_symlinks.sh "$*"
35
36echo "### $0 done"