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
This commit is contained in:
parent
786c44f9f3
commit
11bd9d4c39
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ func (module *PrebuiltEtc) ConvertWithBp2build(ctx android.Bp2buildMutatorContex
|
||||||
var dir = module.installDirBase
|
var dir = module.installDirBase
|
||||||
// prebuilt_file only supports "etc" or "usr/share" or "." as module installDirBase
|
// prebuilt_file only supports "etc" or "usr/share" or "." as module installDirBase
|
||||||
if !(dir == "etc" || dir == "usr/share" || dir == ".") {
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue