Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e91698af authored by Sam Delmerico's avatar Sam Delmerico
Browse files

add apex_available_name to bp2build apex converter

Bug: 285138555
Test: b build //build/bazel/examples/... --config=android
Test: b test //build/bazel/tests/... --config=android
Change-Id: I11372cbc01b89d530a35f90375ca6fa87834edd2
parent 6d65a0fc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3530,6 +3530,7 @@ type bazelApexBundleAttributes struct {
	Logging_parent        *string
	Tests                 bazel.LabelListAttribute
	Base_apex_name        *string
	Apex_available_name   *string
}

type convertedNativeSharedLibs struct {
@@ -3680,6 +3681,7 @@ func convertWithBp2build(a *apexBundle, ctx android.TopDownMutatorContext) (baze
		Package_name:          packageName,
		Logging_parent:        loggingParent,
		Tests:                 testsAttrs,
		Apex_available_name:   a.properties.Apex_available_name,
	}

	props := bazel.BazelTargetModuleProperties{