...
 
Commits (2)
#!/bin/bash -ex
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r31 # r81 fails for win_sdk
~/bin/repo sync --quiet --current-branch -j4
# out/host/linux-x86/bin/jack-admin: line 27: USER: unbound variable
export USER=$(whoami)
. build/envsetup.sh
export BUILD_NUMBER='eng.6.0.1_r31'
# https://source.android.com/setup/build/building#choose-a-target
#lunch sdk-user # fails for win_sdk
lunch sdk-eng
# maybe just 'winsdk-tools'?
# https://android.googlesource.com/platform/sdk/+/master/docs/howto_build_SDK.txt
make win_sdk -j$(nproc) showcommands dist
ls -lh \
out/host/windows/sdk/sdk/android-sdk_eng.6.0.1_r31_windows.zip
ls -lh \
out/dist/android-sdk_eng.6.0.1_r31_windows.zip
#!/bin/bash -ex
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r31
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r81
~/bin/repo sync --quiet --current-branch -j4
# out/host/linux-x86/bin/jack-admin: line 27: USER: unbound variable
export USER=$(whoami)
. build/envsetup.sh
#export BUILD_NUMBER='libre'
export BUILD_NUMBER='user.6.0.1_r81'
# https://source.android.com/setup/build/building#choose-a-target
lunch sdk-user
# 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.
lunch sdk-eng
#lunch sdk-user # win_sdk fails
make sdk -j$(nproc) showcommands
make win_sdk -j$(nproc) showcommands
# dist: https://groups.google.com/forum/?fromgroups=#!topic/android-building/Y0xduZPWtUs
make sdk -j$(nproc) showcommands dist
#make win_sdk -j$(nproc) showcommands dist
ls -lh \
out/host/linux-x86/sdk/sdk/android-sdk_eng.android_linux-x86.zip \
out/host/windows/sdk/sdk/android-sdk_eng.android_windows.zip
out/host/linux-x86/sdk/sdk/android-sdk_user.6.0.1_r81_linux-x86.zip \
out/dist/android-sdk_user.6.0.1_r81_linux-x86.zip