Fix a bug where deps were missing for converted proto_library
This is just a partial fix. Bug: 246997908 Test: Manual build //frameworks/proto_logging/stats:libstats_proto_host_proto Change-Id: I9e4e62bce22cb68bcd7f917c57f3d1438fcec716
This commit is contained in:
@@ -120,9 +120,13 @@ func (fg *fileGroup) ConvertWithBp2build(ctx TopDownMutatorContext) {
|
||||
ctx.CreateBazelTargetModule(props, CommonAttributes{Name: fg.Name()}, attrs)
|
||||
} else {
|
||||
if fg.ShouldConvertToProtoLibrary(ctx) {
|
||||
// TODO(b/246997908): we can remove this tag if we could figure out a
|
||||
// solution for this bug.
|
||||
tags := []string{"manual"}
|
||||
attrs := &ProtoAttrs{
|
||||
Srcs: srcs,
|
||||
Strip_import_prefix: fg.properties.Path,
|
||||
Tags: tags,
|
||||
}
|
||||
|
||||
ctx.CreateBazelTargetModule(
|
||||
|
Reference in New Issue
Block a user