Replace usages of SdkAware in sdk module with Module
Previously, the sdk snapshot code used SdkAware instead of Module to ensure that all its members had implemented SdkAware. However, it never used any of the methods provided by SdkAware, or if it did it no longer does. So, this change replaces usages of SdkAware with Module in preparation for deleting it completely. Bug: 260237150 Test: m nothing Change-Id: Ia89e02394f27b2da776f0cf0f0bc86835a03433a
This commit is contained in:
@@ -541,7 +541,7 @@ type SdkMember interface {
|
||||
Name() string
|
||||
|
||||
// Variants returns all the variants of this module depended upon by the SDK.
|
||||
Variants() []SdkAware
|
||||
Variants() []Module
|
||||
}
|
||||
|
||||
// SdkMemberDependencyTag is the interface that a tag must implement in order to allow the
|
||||
@@ -673,7 +673,7 @@ type SdkMemberType interface {
|
||||
// The sdk module code generates the snapshot as follows:
|
||||
//
|
||||
// * A properties struct of type SdkMemberProperties is created for each variant and
|
||||
// populated with information from the variant by calling PopulateFromVariant(SdkAware)
|
||||
// populated with information from the variant by calling PopulateFromVariant(Module)
|
||||
// on the struct.
|
||||
//
|
||||
// * An additional properties struct is created into which the common properties will be
|
||||
|
Reference in New Issue
Block a user