2019-03-01 01:19:04 +01:00
|
|
|
gnConfigurePhase() {
|
|
|
|
runHook preConfigure
|
|
|
|
|
|
|
|
echo "gn flags: $gnFlags ${gnFlagsArray[@]}"
|
|
|
|
|
|
|
|
gn gen out/Release --args="$gnFlags ${gnFlagsArray[@]}"
|
|
|
|
cd out/Release/
|
|
|
|
|
|
|
|
runHook postConfigure
|
|
|
|
}
|
|
|
|
|
2019-10-31 18:59:18 +01:00
|
|
|
if [ -z "${dontUseGnConfigure-}" -a -z "${configurePhase-}" ]; then
|
2019-03-01 01:19:04 +01:00
|
|
|
configurePhase=gnConfigurePhase
|
|
|
|
fi
|