bootstrap recreates mozconfig, it seems

This commit is contained in:
ohfp 2020-03-29 00:29:09 +01:00
parent f257806033
commit 45614f50a6
2 changed files with 7 additions and 5 deletions

View file

@ -97,5 +97,3 @@ sed -i 's#SaveToPocket.init();#// SaveToPocket.init();#g' browser/components/Bro
# allow SearchEngines option in non-ESR builds
sed -i 's#"enterprise_only": true,#"enterprise_only": false,#g' browser/components/enterprisepolicies/schemas/policies-schema.json
rm -f common/source_files/mozconfig

View file

@ -24,6 +24,13 @@ export SHELL=/bin/bash;
# Changes current folder to the source code folder
cd $srcdir;
# Runs bootstrapper to install dependencies
printf "\nRunning bootstrapper to install build dependencies (using ./mach script within source code)\n";
./mach bootstrap --application-choice=browser --no-interactive;
# deleting it earlier breaks because bootstrap seems to create a new one
rm -f common/source_files/mozconfig
# Do 3-tier PGO
echo "Building instrumented browser..."
@ -40,9 +47,6 @@ ac_add_options --enable-profile-generate=cross
END
fi
# Runs bootstrapper to install dependencies
printf "\nRunning bootstrapper to install build dependencies (using ./mach script within source code)\n";
./mach bootstrap --application-choice=browser --no-interactive;
# Executes the actual build
printf "\nBuilding LibreWolf\n";