Skip to content

[FR]: Support proto_library in other packages for ts_proto_library #752

@ryanli

Description

@ryanli

What is the current behavior?

Right now ts_proto_library only supports using depending on proto_library in the same package as it requires proto_srcs to be set, which takes file names as opposed to target names. This makes it impossible to include dependencies. See #627 for an example.

Describe the feature

ts_proto_library should be able to depend on protobuf messages and proto_library rules defined in other packages, and copy_files should copy them to the right place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions