From 11bd9d4c39141e96f6cf98c3b2c223f9e3805477 Mon Sep 17 00:00:00 2001 From: Zi Wang Date: Thu, 12 Oct 2023 09:58:15 -0700 Subject: [PATCH] Add detail string for the module marked bp2build unconvertible This change is only for the unconvertible modules types from prebuilt_etc.go Test: CI Bug: 303725325 Change-Id: I06d8c1325c158c0669740abe7188281370655265 --- etc/prebuilt_etc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/prebuilt_etc.go b/etc/prebuilt_etc.go index ca2844244..685571dca 100644 --- a/etc/prebuilt_etc.go +++ b/etc/prebuilt_etc.go @@ -799,7 +799,7 @@ func (module *PrebuiltEtc) ConvertWithBp2build(ctx android.Bp2buildMutatorContex var dir = module.installDirBase // prebuilt_file only supports "etc" or "usr/share" or "." as module installDirBase if !(dir == "etc" || dir == "usr/share" || dir == ".") { - ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_TYPE_UNSUPPORTED, "") + ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_TYPE_UNSUPPORTED, "dir") return }