diff options
-rw-r--r-- | android/module_context.go | 6 | ||||
-rw-r--r-- | apex/builder.go | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/android/module_context.go b/android/module_context.go index ae7b54f66..b097117d8 100644 --- a/android/module_context.go +++ b/android/module_context.go @@ -623,8 +623,10 @@ func (m *moduleContext) installFile(installPath InstallPath, name string, srcPat if m.requiresFullInstall() { deps = append(deps, InstallPaths(m.TransitiveInstallFiles.ToList())...) - deps = append(deps, m.installedInitRcPaths...) - deps = append(deps, m.installedVintfFragmentsPaths...) + if m.config.KatiEnabled() { + deps = append(deps, m.installedInitRcPaths...) + deps = append(deps, m.installedVintfFragmentsPaths...) + } var implicitDeps, orderOnlyDeps Paths diff --git a/apex/builder.go b/apex/builder.go index a3343c338..4c91dd0b2 100644 --- a/apex/builder.go +++ b/apex/builder.go @@ -544,7 +544,7 @@ func (a *apexBundle) buildApex(ctx android.ModuleContext) { imageDir := android.PathForModuleOut(ctx, "image"+suffix) - installSymbolFiles := (!ctx.Config().KatiEnabled() || a.ExportedToMake()) && a.installable() + installSymbolFiles := (ctx.Config().KatiEnabled() && a.ExportedToMake()) && a.installable() // set of dependency module:location mappings installMapSet := make(map[string]bool) |