Commit e2946c00 authored by beuc's avatar beuc

SDK-9.0.0: update build, generate repository

parent 95bf10ba
Pipeline #48056018 failed with stage
in 29 minutes and 46 seconds
......@@ -4,4 +4,4 @@ all:
if [ ! -e wd/ ]; then mkdir wd/; fi
chown 1000:1000 wd/
cp -a build.sh wd/
docker run -it -v "$$(pwd)/wd:/home/android/wd" android-rebuilds:sdk-9.0.0 /home/android/wd/build.sh
docker run -v "$$(pwd)/wd:/home/android/wd" android-rebuilds:sdk-9.0.0 /home/android/wd/build.sh
#!/bin/bash -ex
VERSION='9.0.0_r21'
BUILD_VARIANT='user'
VERSION='9.0.0_r33'
BUILD_VARIANT='userdebug'
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-$VERSION
~/bin/repo sync --quiet --current-branch -j4
# Still needed?
export USER=$(whoami)
# https://android.googlesource.com/platform/sdk/+/master/docs/howto_build_SDK.txt
......@@ -17,14 +16,21 @@ lunch sdk-${BUILD_VARIANT}
# Can't build sdk and win_sdk on the same 'make':
# build/core/main.mk:392: *** The 'sdk' target may not be specified with any other targets. Stop.
# dist: https://groups.google.com/forum/?fromgroups=#!topic/android-building/Y0xduZPWtUs
make sdk -j$(nproc) showcommands dist
make win_sdk -j$(nproc) showcommands dist
# sdk_repo: https://android.googlesource.com/platform/development/+/1c875445b6fc08333872bd295527fd1359b80e78
make -j$(nproc) sdk showcommands dist sdk_repo
make -j$(nproc) win_sdk showcommands dist sdk_repo
#make -j$(nproc) PRODUCT-sdk_arm64-sdk showcommands dist sdk_repo
make -j$(nproc) PRODUCT-sdk_x86_64-sdk showcommands dist sdk_repo
#make -j$(nproc) PRODUCT-sdk_x86_64-userdebug sdk showcommands dist sdk_repo
# => build/core/main.mk:436: error: The 'sdk' target may not be specified with any other targets.
ls -lh \
out/host/linux-x86/sdk/sdk/android-sdk_${BUILD_NUMBER}_linux-x86.zip \
out/dist/android-sdk_${BUILD_NUMBER}_linux-x86.zip \
out/host/windows/sdk/sdk/android-sdk_${BUILD_NUMBER}_windows.zip \
out/dist/android-sdk_${BUILD_NUMBER}_windows.zip
out/dist/android-sdk_${BUILD_NUMBER}_windows.zip \
out/dist/sdk-repo*.zip \
out/dist/repo*.xml
# useful?
# out/target/product/generic/sdk-symbols-eng.android.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment