Commit 27514fed authored by beuc's avatar beuc

SDK-6.0.1: build newer revision, 'user' build type, document win_sdk build failures

parent 56619b07
#!/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='eng.6.0.1_r31'
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
# dist: https://groups.google.com/forum/?fromgroups=#!topic/android-building/Y0xduZPWtUs
make sdk -j$(nproc) showcommands dist
make win_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
ls -lh \
out/dist/android-sdk_eng.android_linux-x86.zip \
out/dist/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
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