Revert "Do not convert sdk_version: "none""
Revert submission 2786699-import-sdk-version-none Reason for revert: b/306220520 Reverted changes: /q/submissionid:2786699-import-sdk-version-none Change-Id: I309e269db70d9fedaf010ef44791516392fcb4ea
This commit is contained in:
parent
5dfe4be626
commit
05f487a4cd
1 changed files with 0 additions and 4 deletions
|
@ -2970,10 +2970,6 @@ func (m *Library) convertLibraryAttrsBp2Build(ctx android.Bp2buildMutatorContext
|
||||||
// TODO(b/297356582): handle core_platform in bp2build
|
// TODO(b/297356582): handle core_platform in bp2build
|
||||||
ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_PROPERTY_UNSUPPORTED, "sdk_version core_platform")
|
ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_PROPERTY_UNSUPPORTED, "sdk_version core_platform")
|
||||||
return &javaCommonAttributes{}, &bp2BuildJavaInfo{}, false
|
return &javaCommonAttributes{}, &bp2BuildJavaInfo{}, false
|
||||||
} else if proptools.String(m.deviceProperties.Sdk_version) == "none" {
|
|
||||||
// TODO(b/297356703): handle system_modules
|
|
||||||
ctx.MarkBp2buildUnconvertible(bp2build_metrics_proto.UnconvertedReasonType_PROPERTY_UNSUPPORTED, "sdk_version none")
|
|
||||||
return &javaCommonAttributes{}, &bp2BuildJavaInfo{}, false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
archVariantProps := m.GetArchVariantProperties(ctx, &CommonProperties{})
|
archVariantProps := m.GetArchVariantProperties(ctx, &CommonProperties{})
|
||||||
|
|
Loading…
Reference in a new issue