Skip to content

proto_library can't build generated srcs. #2265

Description

@cgrushko

Repro:

proto_library(name = "generated_proto", srcs = ["generated.proto"])
genrule(name = "generator", outs = ['generated.proto'], cmd = "echo 'syntax = \"proto2\";' > $@")

When building :generated_proto,

generated.proto: No such file or directory

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions