diff options
Diffstat (limited to 'old-sdk-13.0.0_r10/build.sh')
| -rw-r--r-- | old-sdk-13.0.0_r10/build.sh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/old-sdk-13.0.0_r10/build.sh b/old-sdk-13.0.0_r10/build.sh new file mode 100644 index 0000000..d2779cf --- /dev/null +++ b/old-sdk-13.0.0_r10/build.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +# Caution: VERSION needs to be identical in all scripts in this directory, +# otherwise the build will not work. +VERSION='13.0.0_r10' +BUILD_VARIANT='eng' +export USER=$(whoami) +export BUILD_NUMBER="${BUILD_VARIANT}.${VERSION}" +# needed, because otherwise conscrypt build will fail. ART and some other +# dependencies need to be built from source. +export ART_MODULE_BUILD_FROM_SOURCE=true +export MODULE_BUILD_FROM_SOURCE=true + +. build/envsetup.sh +lunch sdk-${BUILD_VARIANT} +make -j$(nproc) sdk dist sdk_repo +# make -j$(nproc) win_sdk dist sdk_repo + +# list the result files +# --------------------- +# +# optional, the windows sdk, disabled by default (see above) +# ls -lah /out/dist/android-sdk_${BUILD_NUMBER}_windows.zip + +# the sdk + +ls -lah out/dist/android-sdk_${BUILD_NUMBER}_linux-x86.zip + +# the parts of the sdk + +ls -lah out/dist/sdk-repo*.zip +ls -lah out/dist/sdk-symbols-${BUILD_NUMBER}.zip +ls -lah out/dist/repo*.xml + +mkdir ../artifacts/${VERSION} +mv out/dist ../artifacts/${VERSION}/ + +echo "Moved SDK to artifact folder" |
