87451b7695b5f31f06827f99f414d75d9e6610e5
gnrt license parsing done with spdx
This has made the patching we had for several other licenses obsolete through the existing array. Chromium changes: https://chromium.googlesource.com/chromium/src/+/8bf5b006f84452174862bf817b1514dea7b396b3 commit 8bf5b006f84452174862bf817b1514dea7b396b3 Author: Lukasz Anforowicz <lukasza@chromium.org> Date: Mon Nov 10 20:08:40 2025 -0800 [gnrt] Use `spdx` to parse license strings. Before this CL, `gnrt` would contain a hardcoded map from strings like `"(Apache-2.0 OR MIT) AND BSD-3-Clause"` into a vector of `LicenseKind`s (e.g. `Apache2, BSD3` for the earlier example). After this CL, license strings are parsed and translated into minimized requirements using the `spdx` crate. Manual testing: * `cd tools/crates/gnrt; cargo test` and checking that tests continue to pass * `rm -rf third_party/rust/chromium_crates_io/vendor; tools/crates/run_gnrt.py vendor` and checking that it doesn't make any changes. Bug: 459579908 Change-Id: Ic54522923f585fd2fbbeb79486b5127352071e5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7139758 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/main@{#1542950}
…
…
…
…
…
…
Brave Core
Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser
Follow @brave on Twitter for important announcements.
Resources
Community
You can ask questions and interact with the community in the following locations:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%