Merge "Revert "Export non-apex variants of modules to make""
This commit is contained in:
9
cc/cc.go
9
cc/cc.go
@@ -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{}
|
||||
|
Reference in New Issue
Block a user