diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/module.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/module.go b/common/module.go index 844db7f6..8e459527 100644 --- a/common/module.go +++ b/common/module.go @@ -79,6 +79,8 @@ type AndroidModuleContext interface { InstallFile(installPath OutputPath, srcPath Path, deps ...Path) Path InstallFileName(installPath OutputPath, name string, srcPath Path, deps ...Path) Path CheckbuildFile(srcPath Path) + + AddMissingDependencies(deps []string) } type AndroidModule interface { @@ -482,6 +484,12 @@ func (a *androidModuleContext) GetMissingDependencies() []string { return a.missingDeps } +func (a *androidModuleContext) AddMissingDependencies(deps []string) { + if deps != nil { + a.missingDeps = append(a.missingDeps, deps...) + } +} + func (a *androidBaseContextImpl) Arch() Arch { return a.arch } |