Commit 60761d1f authored by beuc's avatar beuc

SDK-8.1.0: update build, generate repository

parent e2946c00
Pipeline #49278342 failed with stage
in 31 minutes and 22 seconds
......@@ -4,4 +4,4 @@ all:
if [ ! -e wd/ ]; then mkdir wd/; fi
chown 1000:1000 wd/
cp -a wd/
docker run -it -v "$$(pwd)/wd:/home/android/wd" android-rebuilds:sdk-8.1.0 /home/android/wd/
docker run -v "$$(pwd)/wd:/home/android/wd" android-rebuilds:sdk-8.1.0 /home/android/wd/
#!/bin/bash -ex
~/bin/repo init --quiet -u -b android-$VERSION
~/bin/repo sync --quiet --current-branch -j4
# Still needed?
export USER=$(whoami)
......@@ -17,14 +16,21 @@ lunch sdk-${BUILD_VARIANT}
# Can't build sdk and win_sdk on the same 'make':
# build/core/ *** The 'sdk' target may not be specified with any other targets. Stop.
# dist:!topic/android-building/Y0xduZPWtUs
make sdk -j$(nproc) showcommands dist
make win_sdk -j$(nproc) showcommands dist
# sdk_repo:
#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/ error: The 'sdk' target may not be specified with any other targets.
ls -lh \
out/host/linux-x86/sdk/sdk/android-sdk_${BUILD_NUMBER} \
out/dist/android-sdk_${BUILD_NUMBER} \
out/host/windows/sdk/sdk/android-sdk_${BUILD_NUMBER} \
out/dist/android-sdk_${BUILD_NUMBER} \
out/dist/sdk-repo*.zip \
# useful?
# out/target/product/generic/
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