30 Commits
Author SHA1 Message Date
zxlhhyccc 46eff22a6a gn: update to git HEAD 2026-10-18 14:12:16 +08:00
coolsnowwolf 69fd3c8eb3 gn: fix converting constructors in Result fallback 2026-09-26 09:50:40 +08:00
zxlhhyccc fce7e30444 gn: update to git HEAD (2026-09-02) 2026-09-26 08:56:25 +08:00
zxlhhyccc ea28a364ea gn: update to git HEAD (2026-08-13) 2026-08-17 21:27:15 +08:00
zxlhhyccc 330dcf8f7c gn: update to git HEAD 2026-07-03 21:34:29 +08:00
sKy 2f00926d30 gn: fix builds with older host toolchains
Recent GN sources require newer C++23 compiler and standard library
support, which causes host-build failures on systems using older Clang
or libstdc++ versions.

Add compatibility handling for older host toolchains:

* use std::unique() instead of std::ranges::unique() when building with
  libstdc++ versions older than 13
* use -std=c++2b for Clang versions older than 17
* work around lambda captures of structured bindings on Clang versions
  older than 16
* retain the upstream implementation for newer compilers and standard
  libraries

This fixes GN host builds on systems using older Clang together with
GCC 12 libstdc++ without changing behavior on newer toolchains.
2026-07-01 17:38:45 +08:00
zxlhhyccc 0c7020d1a1 gn: update to git HEAD 2026-06-15 23:24:30 +08:00
zxlhhyccc ce6c167075 gn: update to GIT HEAD (2026-03-31) 2026-04-01 20:34:35 +08:00
zxlhhyccc 7cbed67cb9 gn: update to Git HEAD (2025-09-18) 2025-09-20 18:21:19 +08:00
zxlhhyccc f31ce35406 gn: update to git HEAD 2025-08-13 21:42:38 +08:00
zxlhhyccc 83f320713d gn: update to Git HEAD (2025-06-19) 2025-06-29 22:43:48 +08:00
zxl hhyccc e800bff4ae gn: update to Git HEAD (2025-05-27) 2025-05-28 23:12:34 +08:00
zxl hhyccc 97fff93bea gn: update to Git HEAD (2025-05-27) 2025-05-28 23:11:58 +08:00
zxlhhyccc 86d5350017 gn: Update to git HEAD 2025-05-02 23:48:49 +08:00
zxlhhyccc b52b2d42bf gn: Update to git HEAD 2025-04-22 20:57:29 +08:00
zxl hhyccc 43d6f9a70a gn: Update to git HEAD 2024-11-22 23:07:14 +08:00
zxl hhyccc d2254d60d5 gn: Update to git HEAD 2024-11-22 23:06:26 +08:00
zxl hhyccc 67a6a368d0 gn: Update to git HEAD 2024-10-07 16:18:24 +08:00
zxl hhyccc 86298e577e gn: Update to git HEAD 2024-10-07 16:12:18 +08:00
zxl hhyccc 61a2e13fae gn: Update to git HEAD 2024-10-07 16:11:27 +08:00
zxl hhyccc 39fa415f4a gn: Update to git HEAD 2024-09-03 22:19:28 +08:00
zxl hhyccc 0d165d2c55 gn: Update to git HEAD 2024-09-03 22:18:31 +08:00
zxl hhyccc 9aa898ad48 gn: Update to git HEAD (#1521)
* gn: Update to git HEAD
2024-08-20 22:05:14 +08:00
zxlhhyccc 4df5e0a045 gn: Update to git HEAD 2024-05-18 20:05:05 +08:00
zxlhhyccc 922c8399f5 gn: Update to git HEAD 2024-05-18 20:04:17 +08:00
zxlhhyccc 11c5a52e59 gn: update to git HEAD 2024-01-27 18:29:23 +00:00
zxlhhyccc 3e39cb36b4 gn: bump to latest git HEAD
Support defined(foo["bar"]) syntax.

Since it is already possible to use a string subscript to
get the value of a scope member (i.e. foo["bar"] being the
same as foo.bar, but [] allowing expression evaluation),
this ensures that `defined(foo["bar"])` works as `defined(foo.bar)`
as well.
2023-04-16 00:50:11 +08:00
zxlhhyccc 478cb48930 gn: bump to latest git HEAD
Since it is already possible to use a string subscript to
get the value of a scope member (i.e. foo["bar"] being the
same as foo.bar, but [] allowing expression evaluation),
this ensures that `defined(foo["bar"])` works as `defined(foo.bar)`
as well.
2023-04-16 00:49:06 +08:00
zxlhhyccc 8b40a2f4a2 gn: bump to latest git HEAD
The wrong escaping mode is used in a few contexts, which results in
failed builds. This is happening in particular to folks whose sources
are inside a directory with a space in it, and whose builds are not
contained within that directory.

Such builds encode the surrounding filesystem structure into the ninja
files, which is unfortunate but unavoidable in some environments. Fix
the escaping mode in this case.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-19 22:25:53 +08:00
Tianling Shen 7afb855b2b gn: add new host tool
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-18 00:29:01 +08:00