From 7515994523ae38658e76b0a74faa030e431565a0 Mon Sep 17 00:00:00 2001 From: Vinh Tran Date: Tue, 17 Oct 2023 16:28:04 -0400 Subject: Add bp2build converter for rust_ffi_static Test: go test Change-Id: Ibf0bb2687073f8650da4ca27c1f57e68a93025d4 --- rust/rust.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index ba63613a2..19c5230b4 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1891,6 +1891,8 @@ func (m *Module) ConvertWithBp2build(ctx android.Bp2buildMutatorContext) { binaryBp2build(ctx, m) } else if ctx.ModuleType() == "rust_protobuf_host" || ctx.ModuleType() == "rust_protobuf" { protoLibraryBp2build(ctx, m) + } else if ctx.ModuleType() == "rust_ffi_static" { + ffiStaticBp2build(ctx, m) } else { ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_TYPE_UNSUPPORTED, "") } -- cgit v1.2.3-59-g8ed1b