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

Commit ed93a620 authored by Spandan Das's avatar Spandan Das Committed by Automerger Merge Worker
Browse files

Merge "HideFromMake in `apexTransitionMutator` should respect special cases"...

Merge "HideFromMake in `apexTransitionMutator` should respect special cases" into main am: c965be6c

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3249488



Change-Id: I4911340085cb4e41229a81875ff27c24c61a04ac
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c4145fe7 c965be6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -712,7 +712,7 @@ func MutateApexTransition(ctx BaseModuleContext, variation string) {
	base.ApexProperties.InAnyApex = true
	base.ApexProperties.DirectlyInAnyApex = inApex == directlyInApex

	if platformVariation && !ctx.Host() && !module.AvailableFor(AvailableToPlatform) {
	if platformVariation && !ctx.Host() && !module.AvailableFor(AvailableToPlatform) && module.NotAvailableForPlatform() {
		// Do not install the module for platform, but still allow it to output
		// uninstallable AndroidMk entries in certain cases when they have side
		// effects.  TODO(jiyong): move this routine to somewhere else