Skip to content

Add support for include_prefix and / or strip_include_prefix for rb_library rules #219

@JasonLunn

Description

@JasonLunn

cc_libraries have a concept of being able to manipulate the prefix of the libraries, e.g.:

https://bazel.build/reference/be/c-cpp#cc_library.include_prefix
https://bazel.build/reference/be/c-cpp#cc_library.strip_include_prefix

It would be great if rb_library supported similar capabilities.

Without it, we find that Bazel Ruby scripts have to do awkward load path manipulation that we don't think non-Bazel ruby users would normally have to worry about.

Context: protocolbuffers/protobuf#19808 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions