Add new attribute setup_cmd.

setup_cmd is a customized command that use can optionally input to rule,
and it will run as the very first command inside the docker container.

Change-Id: Iebe0e2513c4ea2a380f05651f7cef8fd56cf43b5
1 file changed
tree: a88a1c6accd403bb9cec61eec6dde768c56fbc08
  1. configs/
  2. examples/
  3. rules/
  4. .gitignore
  5. AUTHORS
  6. CONTRIBUTING.md
  7. CONTRIBUTORS
  8. LICENSE
  9. README.md
  10. WORKSPACE
README.md

bazel-toolchains

https://github.com/bazelbuild/bazel-toolchains is a repository where Google hosts Bazel toolchain configs. These configs are required to configure Bazel to issue commands that will execute inside a Docker container via a remote execution environment.

These toolchain configs include:

  • C/C++ CROSSTOOL file,
  • BUILD file with toolchain rules, and
  • wrapper scripts.

This repository also hosts the skylark rule used to generate toolchain configs.