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

This commit is contained in:
Cole Faust
2023-03-10 06:36:03 +00:00
committed by Gerrit Code Review
9 changed files with 49 additions and 42 deletions

View File

@@ -2439,17 +2439,6 @@ func (library *libraryDecorator) installable() *bool {
return nil
}
func (library *libraryDecorator) makeUninstallable(mod *Module) {
if library.static() && library.buildStatic() && !library.buildStubs() {
// If we're asked to make a static library uninstallable we don't do
// anything since AndroidMkEntries always sets LOCAL_UNINSTALLABLE_MODULE
// for these entries. This is done to still get the make targets for NOTICE
// files from notice_files.mk, which other libraries might depend on.
return
}
mod.ModuleBase.MakeUninstallable()
}
func (library *libraryDecorator) getPartition() string {
return library.path.Partition()
}