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