bazel
bazel copied to clipboard
testdata/runfiles_test/WORKSPACE.mock pins to a very old rules_cc
Description of the bug:
src/test/py/bazel/testdata/runfiles_test/WORKSPACE.mock uses an ancient commit from rules_cc. https://github.com/bazelbuild/rules_cc/commit/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0
We should generate this file from distdir_deps.bzl using gen_workspace_stanza. That will align the tests using this declaration with the other integration tests that use the rules_cc we build with.
The same problem exists in
- src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_remote_tools.WORKSPACE
- tools/test/extensions.bzl