blob: 5bd8db2e4110b38a402c0cf1fa78557557b78da2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- android-sdk-linux_86/tools/android.old 2010-08-16 19:56:17.522813374 -0400
+++ android-sdk-linux_86/tools/android 2010-08-16 19:56:57.876813929 -0400
@@ -93,13 +93,7 @@
if [ -n "$ANDROID_SWT" ]; then
swtpath="$ANDROID_SWT"
else
- vmarch=`"${java_cmd}" -jar "${frameworkdir}/archquery.jar"`
- if [ -n "$ANDROID_BUILD_TOP" ]; then
- osname=`uname -s | tr A-Z a-z`
- swtpath="${ANDROID_BUILD_TOP}/prebuilt/${osname}-${vmarch}/swt"
- else
- swtpath="${frameworkdir}/${vmarch}"
- fi
+ swtpath=`dirname \`java-config -p swt-3.5\``
fi
# Combine the swtpath and the framework dir path.
|