SDK: Generate build-tools package.

(cherry-picked from bc7c8c5fc5)

Change-Id: I36e9ee9a9486da18704428ce5225934a6a308029
This commit is contained in:
Raphael Moll
2013-02-12 13:48:39 -08:00
committed by Raphael Moll
parent a7a51a397e
commit 9ca69cf21f
7 changed files with 94 additions and 53 deletions

View File

@@ -6,7 +6,7 @@ set -e
PROG_DIR=$(dirname $0)
TYPES="tool platform-tool platform sample doc add-on system-image source support"
TYPES="tool platform-tool build-tool platform sample doc add-on system-image source support"
OSES="linux macosx windows any linux-x86 darwin"
TMP_DIR=$(mktemp -d -t sdkrepo.tmp.XXXXXXXX)
@@ -144,6 +144,7 @@ if [[ "$ROOT" == "sdk-repository" && "$XSD_VERSION" -ge 7 ]] ||
[[ "$ROOT" == "sdk-addon" && "$XSD_VERSION" -ge 5 ]]; then
FULL_REVISIONS=(
tool revision
build-tool revision
platform-tool revision
@ min-tools-rev
@ min-platform-tools-rev
@@ -409,3 +410,4 @@ echo "</sdk:$ROOT>" >> "$OUT"
echo "## Validate XML against schema"
xmllint --schema $SCHEMA "$OUT"