-
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.
Include all necessary sources in prebuild test data.
For cc compilation, we need access to a number of sources from the workspace, from both the target dependencies and from the cc toolchain. Add these to the `sources` directory created by the `test_data` rule. To achieve this, add some explicit `test_mode` support to the existing cc rules in `build_dependencies.bzl` and export all the required sourcs to `test_projects.bzl` which can then add them to the `sources` directory. Also add the cc related output groups to the `OutputInfo` returned by `PrebuiltProjectFakeDependencyBuilder` so that it behaves more like the real implementation. PiperOrigin-RevId: 578519803
- Loading branch information
1 parent
dc59ab9
commit fe0df78
Showing
1 changed file
with
23 additions
and
8 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