Skip to content

[bazel] Enable header processing for C++ builds. #138934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions utils/bazel/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ build --experimental_cc_shared_library
# https://github.com/bazelbuild/bazel/commit/03246077f948f2790a83520e7dccc2625650e6df
build --build_runfile_links=false

# Enable header processing to verify that header-only libraries are
# self-contained (for sub-projects that enable "parse_headers" feature).
# See https://bazel.build/docs/bazel-and-cpp#toolchain-features
build --process_headers_in_dependencies

###############################################################################
# Options to select different strategies for linking potential dependent
# libraries. The default leaves it disabled.
Expand Down
Loading