aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/scripts
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-06-25 10:38:13 -0700
committerXavier Ducrohet <xav@android.com>2010-06-25 16:22:19 -0700
commit79ce0feeaa651c05cb981cc180cbfa813ba30161 (patch)
treec99ad4ad75b46f1e0474b900f81743262a4e5183 /eclipse/scripts
parentacf307a26434ffe3283f4b4b2229263106dd31a0 (diff)
downloadsdk-79ce0feeaa651c05cb981cc180cbfa813ba30161.zip
sdk-79ce0feeaa651c05cb981cc180cbfa813ba30161.tar.gz
sdk-79ce0feeaa651c05cb981cc180cbfa813ba30161.tar.bz2
Fix the ddmlib/ddmuilib links making script.
Change-Id: I899d1094dd0b81ca47e5b0409e426f8cbe61f2b5
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-xeclipse/scripts/create_ddms_symlinks.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclipse/scripts/create_ddms_symlinks.sh b/eclipse/scripts/create_ddms_symlinks.sh
index 9913de9..4e957e2 100755
--- a/eclipse/scripts/create_ddms_symlinks.sh
+++ b/eclipse/scripts/create_ddms_symlinks.sh
@@ -52,8 +52,6 @@ cd "$D/../../../"
BASE="sdk/eclipse/plugins/com.android.ide.eclipse.ddms"
DEST=$BASE/libs
-# computes "../.." from DEST to here (in /android)
-BACK=`echo $DEST | sed 's@[^/]*@..@g'`
mkdir -p $DEST
for i in prebuilt/common/jfreechart/*.jar; do
@@ -61,6 +59,9 @@ for i in prebuilt/common/jfreechart/*.jar; do
done
LIBS="ddmlib ddmuilib"
+echo "make java libs ..."
+make -j3 showcommands $LIBS || die "DDMS: Fail to build one of $LIBS."
+
for LIB in $LIBS; do
- cpfile $DEST $BACK/out/host/$PLATFORM/framework/$LIB.jar
+ cpfile $DEST out/host/$PLATFORM/framework/$LIB.jar
done