summaryrefslogtreecommitdiff
path: root/android/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/provider.go')
-rw-r--r--android/provider.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/provider.go b/android/provider.go
index b48fd9148..d005daf55 100644
--- a/android/provider.go
+++ b/android/provider.go
@@ -16,6 +16,12 @@ var _ OtherModuleProviderContext = BottomUpMutatorContext(nil)
var _ OtherModuleProviderContext = SingletonContext(nil)
var _ OtherModuleProviderContext = (*TestContext)(nil)
+// ConfigAndOtherModuleProviderContext is OtherModuleProviderContext + ConfigContext
+type ConfigAndOtherModuleProviderContext interface {
+ OtherModuleProviderContext
+ ConfigContext
+}
+
// OtherModuleProvider reads the provider for the given module. If the provider has been set the value is
// returned and the boolean is true. If it has not been set the zero value of the provider's type is returned
// and the boolean is false. The value returned may be a deep copy of the value originally passed to SetProvider.