[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/gn/gn.desc [COPY] Copyright (C) 2021 - 2025 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Meta-build system that generates build ninja files [T] GN is currently used as the build system for Chromium, Fuchsia, [T] and related projects. [U] https://gn.googlesource.com/ [A] Google [M] T2 Project [C] base/development [L] OpenSource [S] Stable [V] 97b68a0 [P] X -1---5---9 109.500 # Remember to update last_commit_position.h on update, sigh [D] a52445f0a3805c90a534c6c97f110b180149e45a9cc8be734fc850f4 gn-97b68a0.tar.gz git+https://gn.googlesource.com/gn 97b68a0 runmake=0 hook_add premake 5 'gn_premake' hook_add inmake 5 'gn_inmake' hook_add postmake 5 'gn_postmake' gn_premake() { mkdir $builddir/$pkg/out/ cp $confdir/last_commit_position.h $builddir/$pkg/out/ } gn_inmake() { ./build/gen.py ninja -C out/ -j$SDECFG_PARALLEL } gn_postmake() { install -D -m755 out/gn $root/$bindir install -D -m644 docs/* $root/$docdir }