OSDN Git Service

SDK #1800921: Packages the Windows SDK in a temporary location.
authorRaphael <raphael@google.com>
Wed, 20 May 2009 21:38:23 +0000 (14:38 -0700)
committerRaphael <raphael@google.com>
Thu, 21 May 2009 05:28:21 +0000 (22:28 -0700)
commit0b511c0307918ec6f056ce46c5b2193a32a0bc2e
tree78bb29809556e980ac00e02f40a9c5fae8c24a92
parent6615bf85a2569159f1c48ab52c69f66ae99d5574
SDK #1800921: Packages the Windows SDK in a temporary location.

This changes make_windows_sdk so that it packages everything
in a temp dir. Once the build & packaging succeeds, the final
Zip is copied to the desired location.

The temp dir is *not* cleared on zip errors, which helps in
diagnosing packaging issues after the fact.

This has no impact on the build process itself (i.e. make
adb, emulator, etc.) which all happen in $SDK/out anyway.

The temp dir can be passed as an argument. If not provided,
the default Cygwin $TMP is used. Otherwise /tmp is used.

I also added an usage description when parameters are missing.