Remove IsModuleInVersionedSdk
Previously, as all versioned sdk snapshots have been removed from Android.bp files this method would always return false. This change effectively replaces all calls to it with false, and then optimizes away any unused code. Bug: 260237150 Test: m nothing Change-Id: I1b717ee8345e807bd888451f6e7e3c3a0d391ee2
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -3520,7 +3520,7 @@ func (c *Module) IsInstallableToApex() bool {
|
||||
if lib := c.library; lib != nil {
|
||||
// Stub libs and prebuilt libs in a versioned SDK are not
|
||||
// installable to APEX even though they are shared libs.
|
||||
return lib.shared() && !lib.buildStubs() && !android.IsModuleInVersionedSdk(c)
|
||||
return lib.shared() && !lib.buildStubs()
|
||||
} else if _, ok := c.linker.(testPerSrc); ok {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user