See the comment at the top of DEPS.bzl for help on injecting temporary changes to dependencies. This is useful if you want to test changes to dependencies before upstreaming them or if you want to inject debugging logic into third-party code.
Generated files handled by
go:generateare not natively generated in the Bazel sandbox, so introductions of new calls to
go:generatecan break the Bazel build or otherwise lead to unpredictable or incorrect behavior. If you add a new
go:generatesomewhere, make sure the equivalent logic to generate the file is present in the Bazel build as well. Follow the directions above to ask for help if you don’t know how to do this.
As mentioned here, if building on MacOS Bazel requires the full version of XCode: Building from source on macOS