Merge "Add a function to check missing deps"

This commit is contained in:
Treehugger Robot 2023-05-23 16:07:01 +00:00 committed by Gerrit Code Review
commit 2259132d96

View file

@ -349,6 +349,8 @@ type BaseModuleContext interface {
// is not of the appropriate type, or if the value has already been set. The value should not
// be modified after being passed to SetProvider.
SetProvider(provider ProviderKey, value interface{})
EarlyGetMissingDependencies() []string
}
type DynamicDependerModuleContext BottomUpMutatorContext
@ -807,6 +809,10 @@ func (m *moduleContext) GetMissingDependencies() []string {
return m.module.missingDeps
}
func (m *baseModuleContext) EarlyGetMissingDependencies() []string {
return m.module.missingDeps
}
//
// MutatorContext
//