15 lines
311 B
Bash
15 lines
311 B
Bash
gnConfigurePhase() {
|
|
runHook preConfigure
|
|
|
|
echo "gn flags: $gnFlags ${gnFlagsArray[@]}"
|
|
|
|
gn gen out/Release --args="$gnFlags ${gnFlagsArray[@]}"
|
|
cd out/Release/
|
|
|
|
runHook postConfigure
|
|
}
|
|
|
|
if [ -z "${dontUseGnConfigure-}" -a -z "$configurePhase" ]; then
|
|
configurePhase=gnConfigurePhase
|
|
fi
|