blob: e28b5b9e84a9438d9e97be8cdc54cf85a9d1ffc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
#----------------------------------------------------------------------------|
# Creates the links to use gldebugger in the eclipse-ide plugin.
# Run this from sdk/eclipse/scripts
#----------------------------------------------------------------------------|
set -e
D=`dirname "$0"`
source $D/common_setup.sh
# cd to the top android directory
cd "$D/../../../"
BASE="sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger"
DEST=$BASE/libs
mkdir -p $DEST
LIBS="host-libprotobuf-java-2.3.0-lite liblzf sdklib"
echo "make java libs ..."
make -j3 $LIBS || die "GL Debugger: Fail to build one of $LIBS."
for LIB in $LIBS; do
cpfile $DEST out/host/$PLATFORM/framework/$LIB.jar
done
|