diff options
Diffstat (limited to 'sdk-13.0.0_r18/build.sh')
| -rw-r--r-- | sdk-13.0.0_r18/build.sh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sdk-13.0.0_r18/build.sh b/sdk-13.0.0_r18/build.sh new file mode 100644 index 0000000..78e384e --- /dev/null +++ b/sdk-13.0.0_r18/build.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# Caution: VERSION needs to be identical in all scripts in this directory, +# otherwise the build will not work. + +VERSION='13.0.0_r18' +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 + |
