Merge "Revert "Export non-apex variants of modules to make""

This commit is contained in:
Ioana Alexandru
2023-03-20 11:08:55 +00:00
committed by Gerrit Code Review
9 changed files with 42 additions and 49 deletions

View File

@@ -609,6 +609,7 @@ type installer interface {
inSanitizerDir() bool
hostToolPath() android.OptionalPath
relativeInstallPath() string
makeUninstallable(mod *Module)
installInRoot() bool
}
@@ -3524,6 +3525,14 @@ func (c *Module) InstallInRecovery() bool {
return c.InRecovery()
}
func (c *Module) MakeUninstallable() {
if c.installer == nil {
c.ModuleBase.MakeUninstallable()
return
}
c.installer.makeUninstallable(c)
}
func (c *Module) HostToolPath() android.OptionalPath {
if c.installer == nil {
return android.OptionalPath{}