diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-03-22 15:41:28 -0700 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2012-03-22 15:51:17 -0700 |
commit | e35ac78cd42ae17c3bd62bf3d19ecc5cc71228d3 (patch) | |
tree | c85b0faae152f69e960080f6ce0e4c6afc7b71b8 /build/tools/mk_sdk_repo_xml.sh | |
parent | 8d2f79ba939e0394cf18489503a6f2a3ebcce8f6 (diff) | |
download | android_development-e35ac78cd42ae17c3bd62bf3d19ecc5cc71228d3.tar.gz android_development-e35ac78cd42ae17c3bd62bf3d19ecc5cc71228d3.tar.bz2 android_development-e35ac78cd42ae17c3bd62bf3d19ecc5cc71228d3.zip |
Fix build - configure for schema-v4 output
Change-Id: I26b334e54b38cba49e84212fbe40250fb16dc738
Diffstat (limited to 'build/tools/mk_sdk_repo_xml.sh')
-rwxr-xr-x | build/tools/mk_sdk_repo_xml.sh | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/build/tools/mk_sdk_repo_xml.sh b/build/tools/mk_sdk_repo_xml.sh index f089c31fb..832b322f1 100755 --- a/build/tools/mk_sdk_repo_xml.sh +++ b/build/tools/mk_sdk_repo_xml.sh @@ -12,6 +12,10 @@ OSES="linux macosx windows any linux-x86 darwin" TMP_DIR=$(mktemp -d -t sdkrepo.tmp.XXXXXXXX) trap "rm -rf $TMP_DIR" EXIT +function debug() { + echo "DEBUG: " $@ > /dev/stderr +} + function error() { echo "*** ERROR: " $@ usage @@ -91,7 +95,7 @@ ATTRS=( # Name read from | XML element written | Min-XSD version # source.properties | to repository.xml | where XML can be used # --------------------------+------------------------+---------------------- - # for repository packages + # from source.properties for repository.xml packages Pkg.Revision revision 1 Pkg.Desc description 1 Platform.Version version 1 @@ -100,16 +104,29 @@ ATTRS=( Platform.IncludedAbi included-abi 5 Platform.MinToolsRev min-tools-rev 1 Platform.MinPlatformToolsRev min-platform-tools-rev 3 - Extra.Vendor vendor 1 - Extra.Path path 1 - Extra.OldPaths old-paths 3 - Extra.MinApiLevel min-api-level 2 Sample.MinApiLevel min-api-level 2 SystemImage.Abi abi 5 Layoutlib.Api layoutlib/api 4 Layoutlib.Revision layoutlib/revision 4 - # for addon packages + # from source.properties for addon.xml packages + # (note that vendor is mapped to different XML elements based on the XSD version) + Extra.VendorDisplay vendor-display 4 + Extra.VendorId vendor-id 4 + Extra.Vendor vendor-id 4 + Extra.Vendor vendor 1 + Extra.NameDisplay name-display 4 + Extra.Path path 1 + Extra.OldPaths old-paths 3 + Extra.MinApiLevel min-api-level 2 + # from addon manifest.ini for addon.xml packages + # (note that vendor/name are mapped to different XML elements based on the XSD version) + vendor-id vendor-id 4 + vendor-display vendor-display 4 + vendor vendor-display 4 vendor vendor 1 + name-id name-id 4 + name-display name-display 4 + name name-display 4 name name 1 description description 1 api api-level 1 |