add variant_version to bp2build apex converter

Bug: 285138555
Test: b build //build/bazel/examples/... --config=android
Test: b test //build/bazel/tests/... --config=android
Change-Id: I7350930d48ccd13e96bdb4f994f47071a0dde70f
This commit is contained in:
Sam Delmerico
2023-06-06 12:06:53 -04:00
parent e91698af9f
commit 743b4c5a9b

View File

@@ -3531,6 +3531,7 @@ type bazelApexBundleAttributes struct {
Tests bazel.LabelListAttribute
Base_apex_name *string
Apex_available_name *string
Variant_version *string
}
type convertedNativeSharedLibs struct {
@@ -3682,6 +3683,7 @@ func convertWithBp2build(a *apexBundle, ctx android.TopDownMutatorContext) (baze
Logging_parent: loggingParent,
Tests: testsAttrs,
Apex_available_name: a.properties.Apex_available_name,
Variant_version: a.properties.Variant_version,
}
props := bazel.BazelTargetModuleProperties{