-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial support in
build_dependencies.bzl
for c/c++.
This CL adds basic support for reporting information needed for C++ compilation in a dependencies build. Unlike the java support where we collect jars per dependency target, for C++ we don't traverse the deps but instead just rely on bazel to collect the transitive information for as, and report that directly. This may not be the long term approach, but works well enough for now to make a start with C++ support. We do however follow the `_cc_toolchain` attributes in order to gather information about the toolchain in use. Rename soime existing java specific methods to make it clear that they are java specific, and give the new code cc specific names accordingly. PiperOrigin-RevId: 571010937
- Loading branch information
1 parent
ece6e38
commit e73603f
Showing
2 changed files
with
156 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters