Skip to content

Consider a WORKSPACE alias rule #3219

@cgrushko

Description

@cgrushko

Something like:

WORKSPACE:

http_archive(
    name = "com_google_protobuf",
    ...
)

alias(
    name = "com_google_protobuf_cc",
    actual = "com_google_protobuf",
)

Depending on com_google_protobuf_cc would be equivalent to com_google_protobuf.

The use-case is highlighted in
https://groups.google.com/forum/#!topic/bazel-discuss/859ybHQZnuI

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)type: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions