Merge "SDK Manager: post install script to update SDK Setup.exe" into eclair

This commit is contained in:
Raphael Moll
2010-01-29 17:17:26 -08:00
committed by Android (Google) Code Review

View File

@@ -163,8 +163,10 @@ function package() {
mkdir -pv "$LIB"/x86_64
cp -v prebuilt/windows-x86_64/swt/swt.jar "$LIB"/x86_64/
# Move the SDK Setup (aka sdklauncher) to the root of the SDK (it was copied in tools above)
mv "$TOOLS/sdklauncher.exe" "$TEMP_SDK_DIR/SDK Setup.exe"
# Copy the SDK Setup (aka sdklauncher) to the root of the SDK (it was copied in tools above)
# and move it also in SDK/tools/lib (so that tools updates can update the root one too)
cp "$TOOLS/sdklauncher.exe" "$TEMP_SDK_DIR/SDK Setup.exe"
mv "$TOOLS/sdklauncher.exe" "$LIB/SDK Setup.exe"
# If you want the emulator NOTICE in the tools dir, uncomment the following line:
# cp -v external/qemu/NOTICE "$TOOLS"/emulator_NOTICE.txt
@@ -173,7 +175,8 @@ function package() {
cp -v /cygdrive/c/cygwin/bin/mgwz.dll "$TOOLS"/
# Update a bunch of bat files
cp -v sdk/files/find_java.bat "$TOOLS"/
cp -v sdk/files/post_tools_install.bat "$LIB"/
cp -v sdk/files/find_java.bat "$LIB"/
cp -v sdk/apkbuilder/etc/apkbuilder.bat "$TOOLS"/
cp -v sdk/ddms/app/etc/ddms.bat "$TOOLS"/
cp -v sdk/traceview/etc/traceview.bat "$TOOLS"/