• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3HOST=`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
12echo "### $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"
37