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:
@@ -216,16 +216,6 @@ func InitSdkAwareModule(m SdkAware) {
|
||||
m.AddProperties(&base.properties)
|
||||
}
|
||||
|
||||
// IsModuleInVersionedSdk returns true if the module is an versioned sdk.
|
||||
func IsModuleInVersionedSdk(module Module) bool {
|
||||
if s, ok := module.(SdkAware); ok {
|
||||
if !s.ContainingSdk().Unversioned() {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// SnapshotBuilder provides support for generating the build rules which will build the snapshot.
|
||||
type SnapshotBuilder interface {
|
||||
// CopyToSnapshot generates a rule that will copy the src to the dest (which is a snapshot
|
||||
|
Reference in New Issue
Block a user