Skip to content

Cleanup Bazel rules #498

@antoninbas

Description

@antoninbas

We tend to abuse the includes attribute of cc_library: https://docs.bazel.build/versions/master/be/c-cpp.html#cc_library.includes. Using includes impact all the dependent rules and we end up with compiler invocations with a huge number of include directives, which are hard to troubleshoot. We rely on the includes attribute because our include paths are not relative to the WORKSPACE root (https://docs.bazel.build/versions/master/bazel-and-cpp.html#include-paths), which is understandable since the project originally did not support Bazel as a build system. Since we should come up with a cleaner solution if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions