devops: try compiling 64-bit arm Chromium (#9990)

Turned out we currently compile armhf chromium, which is 32bit.
This commit is contained in:
Andrey Lushnikov 2021-11-02 14:52:12 -07:00 committed by GitHub
parent 62a01a41c6
commit c91ce5401e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ compile_chromium() {
if [[ $1 == "--compile-mac-arm64" ]]; then
echo 'target_cpu = "arm64"' >> ./out/Default/args.gn
elif [[ $1 == "--compile-linux-arm64" ]]; then
echo 'target_cpu = "arm"' >> ./out/Default/args.gn
echo 'target_cpu = "arm64"' >> ./out/Default/args.gn
fi
if [[ ! -z "$USE_GOMA" ]]; then
@ -88,9 +88,9 @@ compile_chromium() {
if [[ $(uname) == "--compile-linux" ]]; then
./build/install-build-deps.sh
elif [[ $1 == "--compile-linux-arm64" ]]; then
./build/install-build-deps.sh --arm
./build/install-build-deps.sh
# Install sysroot image, see https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/chromium_arm.md
./build/linux/sysroot_scripts/install-sysroot.py --arch=arm
./build/linux/sysroot_scripts/install-sysroot.py --arch=arm64
fi
fi