Files
CHEN Feng 3a5c410c18 build: make cc_flare_library front-end-agnostic; upgrade vendored blade (#211)
Rewrite the two Python-only constructs in the cc_flare_library extension so it
parses under a Starlark front-end as well as Blade's (restricted) Python DSL,
with identical behaviour under Blade:

- `assert len(srcs) == 1, msg` -> `if len(srcs) != 1: fail(msg)`
- `deps is None` -> `deps == None`
- implicit adjacent-string concatenation -> explicit `+`

`isinstance` is kept (both front-ends provide it). This lets flare build under a
Go reimplementation of Blade (blade-go) without changing the current build.

Also upgrade the vendored blade (thirdparty/blade/blade.zip + GITVERSION) to
blade-build master, which adds the `fail()` builtin the change above uses.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 21:14:34 +08:00
..