Fix CTS Script to Use ddmlib-prebuilt
Change-Id: I48e50a0335e8e4af785e554e3506b6cb13658d5e
diff --git a/tools/host/etc/cts b/tools/host/etc/cts
index c368db2..bb1fa2a 100755
--- a/tools/host/etc/cts
+++ b/tools/host/etc/cts
@@ -17,7 +17,7 @@
CTS_SH=cts
CTS_LIB=cts.jar
-DDMS_LIB=ddmlib.jar
+DDMS_LIB=ddmlib-prebuilt.jar
JUNIT_LIB=junit.jar
HOSTTEST_LIB=hosttestlib.jar
CTS_TEST_ANNOTATIONS_HOST_LIB=CtsTestAnnotationsHostLib.jar
@@ -38,15 +38,13 @@
BINARY_DIR=tools
JAR_DIR=tools/lib
else if [ ! -f ${ANDROID_ROOT}/bin/${ADB_TOOLS} ]; then
- echo "Please set your Android Framework root path."
- echo "Define \"ANDROID_ROOT\" variable"
+ echo "Missing ${ANDROID_ROOT}/bin/${ADB_TOOLS}"
exit -1;
fi;
fi;
if [ ! -f ${ANDROID_ROOT}/${JAR_DIR}/${DDMS_LIB} ]; then
- echo "Please set your Android Framework root path."
- echo "Define \"ANDROID_ROOT\" variable"
+ echo "Missing ${ANDROID_ROOT}/${JAR_DIR}/${DDMS_LIB}"
exit -1;
fi;