Commit Graph

4 Commits

Author SHA1 Message Date
zxlhhyccc
12eacf7f1c 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-18 19:12:39 +08:00
zxlhhyccc
4bf7bcbf47 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-18 19:12:34 +08:00
zxlhhyccc
980a48dbe3 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-20 19:07:28 +08:00
Tianling Shen
f0ae56937b gn: add new host tool
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-18 06:15:34 +08:00