Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix building ijar_cc_binary and singlejar_cc_bin without sandbox by r…
…emoving dependency on @bazel_tools//tools/cpp:malloc As @laszlocsomor [explained](#8742 (comment) ), building `ijar_cc_binary` and `singlejar_cc_bin` on Windows (where sandbox is not available yet) will have header conflict due to the same headers are shipped in both @bazel_tools and @local_java_tools. `ijar_cc_binary` and `singlejar_cc_bin` only declare headers in @local_java_tools as dependency, but it will search `external/bazel_tools` first because every cc targets depend on `@bazel_tools//tools/cpp:malloc` [implicitly](https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary). This change remove the dependency on `@bazel_tools//tools/cpp:malloc` to avoid this confusion. Closes #8954. PiperOrigin-RevId: 259519714
- Loading branch information