From 61755e8ea86600e17f4501d188ab816240ccce7e Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Wed, 22 Jan 2025 18:48:05 +0000 Subject: Install apex symlinks in m --soong-only Apexes such as com.android.runtime install additional symlinks in the staging $PRODUCT_OUT/apex directory. It uses PathForModuleInPartition("apex") to avoid the side affect of inadvertently copying this into rdeps such as system.img To prevent non-null builds when switching between `m` and `m --soong-only`, remove this special case. Test: m nothing Bug: 390471378 Change-Id: I81ff7b9c18f84cbe83836e6992124080c93359d2 --- apex/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apex/builder.go') diff --git a/apex/builder.go b/apex/builder.go index daba6f19f..b3174727f 100644 --- a/apex/builder.go +++ b/apex/builder.go @@ -552,7 +552,7 @@ func (a *apexBundle) buildApex(ctx android.ModuleContext) { imageDir := android.PathForModuleOut(ctx, "image"+suffix) - installSymbolFiles := (ctx.Config().KatiEnabled() && a.ExportedToMake()) && a.installable() + installSymbolFiles := a.ExportedToMake() && a.installable() // set of dependency module:location mappings installMapSet := make(map[string]bool) -- cgit v1.2.3-59-g8ed1b