diff options
author | 2023-08-24 11:10:01 -0400 | |
---|---|---|
committer | 2023-08-25 18:00:33 -0400 | |
commit | 0c4b9ec5e0cb1235c8b418959a29385fe60b23a3 (patch) | |
tree | 1a9a9288f30699ec019eb9604d4c97e9db6eded2 /rust/rust.go | |
parent | 093a57edb2adff4f8aac32bc4a9197f4c6a17da9 (diff) |
Implement bp2build converter for rust_protobuf_host
Test: go test
Bug: 295925256
Change-Id: I43b7359da8fc19f4338e2583448b7617194df5e6
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go index 949450700..1ee99cdb1 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1852,6 +1852,8 @@ func (m *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) { procMacroBp2build(ctx, m) } else if ctx.ModuleType() == "rust_binary_host" { binaryBp2build(ctx, m) + } else if ctx.ModuleType() == "rust_protobuf_host" { + protoLibraryBp2build(ctx, m) } else { ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_TYPE_UNSUPPORTED, "") } |