Download rc from google storage

This commit is contained in:
uazo
2023-08-03 23:33:50 -09:00
committed by GitHub
parent 342bcd67f7
commit c3c67dd092
+6 -10
View File
@@ -74,15 +74,11 @@ gclient runhooks
echo -e ${RED} -------- download objdump ${NC}
tools/clang/scripts/update.py --package=objdump
echo -e ${RED} -------- build rc ${NC}
cd build/toolchain/win/rc
git clone -q https://github.com/nico/hack
cd hack/res
echo -e ${RED} -------- download rc ${NC}
python3 third_party/depot_tools/download_from_google_storage.py \
--no_resume \
--no_auth \
--bucket chromium-browser-clang/rc \
-s build/toolchain/win/rc/win/rc.exe.sha1
../../../../../../third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ \
-std=c++14 rc.cc -Wall \
-Wno-c++11-narrowing -O2 -fno-rtti -fno-exceptions -DNDEBUG \
-o rc-linux64 -fuse-ld=lld -target x86_64-unknown-linux-gnu
cd ../../../../../../
cp build/toolchain/win/rc/hack/res/rc-linux64 build/toolchain/win/rc/linux64/rc