summaryrefslogtreecommitdiff
path: root/apex/builder.go
diff options
context:
space:
mode:
Diffstat (limited to 'apex/builder.go')
-rw-r--r--apex/builder.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/apex/builder.go b/apex/builder.go
index 94aef496e..2f8a4ec09 100644
--- a/apex/builder.go
+++ b/apex/builder.go
@@ -468,6 +468,10 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
imageDir := android.PathForModuleOut(ctx, "image"+suffix)
installSymbolFiles := (!ctx.Config().KatiEnabled() || a.ExportedToMake()) && a.installable()
+ // We can't install symbol files when prebuilt is used.
+ if a.IsReplacedByPrebuilt() {
+ installSymbolFiles = false
+ }
// set of dependency module:location mappings
installMapSet := make(map[string]bool)