From 2cb977e3680bc1dfeedf7ea17f77285bb0019571 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 13 Nov 2023 16:10:13 -0500 Subject: [PATCH] Toolchain: Actually compile the GN binary in BuildGN.sh The gen.py script only generates the build.ninja file for GN. We have to explicitly build it afterwards. This also sets the executable bit on BuildGN.sh. --- Toolchain/BuildGN.sh | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 Toolchain/BuildGN.sh diff --git a/Toolchain/BuildGN.sh b/Toolchain/BuildGN.sh old mode 100644 new mode 100755 index 559017ef03c..7d5fed6bf4d --- a/Toolchain/BuildGN.sh +++ b/Toolchain/BuildGN.sh @@ -28,6 +28,8 @@ git fetch origin git checkout $GIT_REV ./build/gen.py --out-path="$BUILD_DIR" --allow-warnings +ninja -C "$BUILD_DIR" + mkdir -p "$PREFIX_DIR/bin" cp "$BUILD_DIR/gn" "$PREFIX_DIR/bin"