devops: disable dchecks when building chromium (#8067)

As of https://chromium-review.googlesource.com/c/chromium/src/+/3053740,
Chromium defaults to building with dchecks always on.

We don't want dchecks enabled in our builds so we must disable them
explicitly.

References #8052
This commit is contained in:
Andrey Lushnikov 2021-08-07 15:41:13 +03:00 committed by GitHub
parent b1b4d7b819
commit eda2ee5c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,7 @@ compile_chromium() {
# Prepare build folder.
mkdir -p "./out/Default"
echo "is_debug = false" > ./out/Default/args.gn
echo "dcheck_always_on = false" >> ./out/Default/args.gn
if [[ $2 == "--symbols" ]]; then
echo "symbol_level = 1" >> ./out/Default/args.gn
else