diff --git a/tools/cr/toolchain/README.md b/tools/cr/toolchain/README.md new file mode 100644 index 00000000000..e5da39e5c9e --- /dev/null +++ b/tools/cr/toolchain/README.md @@ -0,0 +1,38 @@ +# Browser Toolchain Scripts + +This directory contains scripts for generating browser toolchains (compilers, +linkers, standard libraries, etc.) used by the Brave build. + +## Design rules + +Scripts here are designed to be launched with a single `curl` one-liner, +so they must be **self-contained in a single source file** with **no +dependencies outside the Python standard library** (or the platform's +default tooling such as `git`). Do not split logic across helper modules or +add third-party imports. + +Example invocation pattern: + +```sh +curl -sL \ + https://raw.githubusercontent.com/brave/brave-core/refs/heads/master/tools/cr/toolchain/