blob: db4673f815f87fb7fab089527c4df8aec1ef1174 [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"`
Raphaelf1d64e22009-11-18 11:27:35 -080021cd "$D/../../../"
The Android Open Source Project55a2c712009-03-03 19:29:09 -080022
Raphaelf1d64e22009-11-18 11:27:35 -080023DEST="sdk/eclipse/scripts"
The Android Open Source Project55a2c712009-03-03 19:29:09 -080024
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"