diff options
Diffstat (limited to 'android/sdk.go')
-rw-r--r-- | android/sdk.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/android/sdk.go b/android/sdk.go index 5f4b387c2..cf434b01e 100644 --- a/android/sdk.go +++ b/android/sdk.go @@ -475,7 +475,7 @@ type SdkMemberType interface { // properties. The dependencies must be added with the supplied tag. // // The BottomUpMutatorContext provided is for the SDK module. - AddDependencies(mctx BottomUpMutatorContext, dependencyTag blueprint.DependencyTag, names []string) + AddDependencies(ctx SdkDependencyContext, dependencyTag blueprint.DependencyTag, names []string) // Return true if the supplied module is an instance of this member type. // @@ -529,6 +529,12 @@ type SdkMemberType interface { CreateVariantPropertiesStruct() SdkMemberProperties } +// SdkDependencyContext provides access to information needed by the SdkMemberType.AddDependencies() +// implementations. +type SdkDependencyContext interface { + BottomUpMutatorContext +} + // Base type for SdkMemberType implementations. type SdkMemberTypeBase struct { PropertyName string |