Commits (2)
......@@ -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-8.0.0 /home/android/wd/build.sh
docker run -v "$$(pwd)/wd:/home/android/wd" android-rebuilds:sdk-8.0.0 /home/android/wd/build.sh
......@@ -16,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/sdk-repo*.zip \
# useful?
# out/target/product/generic/sdk-symbols-eng.android.zip