Browse Source

Merge "Only install to $OUT/apex for installable apexes"

Colin Cross 2 years ago
parent
commit
e3db7f6d38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apex/builder.go

+ 1 - 1
apex/builder.go

@@ -388,7 +388,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
 
 	imageDir := android.PathForModuleOut(ctx, "image"+suffix)
 
-	installSymbolFiles := !ctx.Config().KatiEnabled() || a.ExportedToMake()
+	installSymbolFiles := (!ctx.Config().KatiEnabled() || a.ExportedToMake()) && a.installable()
 
 	// b/140136207. When there are overriding APEXes for a VNDK APEX, the symbols file for the overridden
 	// APEX and the overriding APEX will have the same installation paths at /apex/com.android.vndk.v<ver>