Skip to content
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

Stricter bazel builds #789

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Stricter bazel builds #789

merged 2 commits into from
Nov 9, 2024

Commits on Nov 9, 2024

  1. Add the parse_header feature to all targets

    https://bazel.build/docs/bazel-and-cpp#toolchain-features
    
    This validates that all exported header files compile in isolation with
    a c++ compiler.
    
    Bug: b/377996634
    Databean committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    f94c99c View commit details
    Browse the repository at this point in the history
  2. Enforce strict dependency checking in bazel

    https://bazel.build/docs/bazel-and-cpp#toolchain-features
    
    This avoids cases like
    google#788 fixing
    google#771 by enforcing
    stricter rules to match the behavior of the internal build system.
    
    Bug: b/377996634
    Databean committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    d83a720 View commit details
    Browse the repository at this point in the history