mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
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.
This commit is contained in:
parent
1e8004734f
commit
2cb977e368
Notes:
sideshowbarker
2024-07-17 03:35:16 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/2cb977e368 Pull-request: https://github.com/SerenityOS/serenity/pull/21927 Reviewed-by: https://github.com/ADKaster
1 changed files with 2 additions and 0 deletions
2
Toolchain/BuildGN.sh
Normal file → Executable file
2
Toolchain/BuildGN.sh
Normal file → Executable file
|
@ -28,6 +28,8 @@ git fetch origin
|
||||||
git checkout $GIT_REV
|
git checkout $GIT_REV
|
||||||
|
|
||||||
./build/gen.py --out-path="$BUILD_DIR" --allow-warnings
|
./build/gen.py --out-path="$BUILD_DIR" --allow-warnings
|
||||||
|
ninja -C "$BUILD_DIR"
|
||||||
|
|
||||||
mkdir -p "$PREFIX_DIR/bin"
|
mkdir -p "$PREFIX_DIR/bin"
|
||||||
cp "$BUILD_DIR/gn" "$PREFIX_DIR/bin"
|
cp "$BUILD_DIR/gn" "$PREFIX_DIR/bin"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue