You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can add the CoverageOutputGenerator dependency only in coverage mode.
That also means you have to install or download the JDK via the external repository to run any sh_test. We should make this conditional.
I'm not sure it means that. Bazel will try and download the host JDK because of the Java dependency, but the sh_test doesn't require an installed JDK if it's not executing any java target.
This is split out from #6656 (comment)
Every
sh_test
depends on the Java and C++ toolchains because of coverage.Example:
While fixing #5331 the lcov merger was added to every sh_test in 8fcc07a
This pulls in a lot of unnecessary deps, see
That also means you have to install or download the JDK via the external repository to run any sh_test. We should make this conditional.
I have no clue why this depends on the
cpp:toolchain
, cc @hlopko.The text was updated successfully, but these errors were encountered: