Commit 61599e40 authored by beuc's avatar beuc

SDK-1.6: clarify comment and build with 'eng' variant

parent 29572f75
#!/bin/bash -ex
VERSION='1.6_r2'
BUILD_VARIANT='userdebug'
BUILD_VARIANT='eng'
#~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-$VERSION
#~/bin/repo sync --quiet --current-branch -j4
......@@ -17,21 +17,18 @@ export BUILD_NUMBER="${BUILD_VARIANT}.${VERSION}"
# https://source.android.com/setup/build/building#choose-a-target
lunch sdk-${BUILD_VARIANT}
# https://source.android.com/setup/build/building#build-the-code
# 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
# sdk_repo: build/core/main.mk:236: *** The 'sdk' target may not be specified with any other targets. Stop.
make -j$(nproc) sdk showcommands dist
# make: *** No rule to make target `win_sdk'. Stop.
#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.
#make -j$(nproc) win_sdk showcommands dist
# build/core/product_config.mk:173: *** No matches for product "sdk_arm64". Stop:
#make -j$(nproc) PRODUCT-sdk_arm64-sdk showcommands dist
#make -j$(nproc) PRODUCT-sdk_x86_64-sdk showcommands dist
#ls -lh \
# out/host/linux-x86/sdk/android-sdk_${BUILD_NUMBER}_linux-x86.zip \
# out/dist/android-sdk_${BUILD_NUMBER}_linux-x86.zip
ls -lh \
out/host/linux-x86/sdk/android-sdk_${BUILD_NUMBER}_linux-x86.zip \
out/dist/android-sdk_${BUILD_NUMBER}_linux-x86.zip
# useful?
# out/target/product/generic/sdk-symbols-eng.android.zip
out/host/linux-x86/sdk/android-sdk_${BUILD_VARIANT}.android_linux-x86.zip \
out/dist/android-sdk_${BUILD_VARIANT}.android_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