diff options
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/module.go b/android/module.go index 218df2267..1e6cc8388 100644 --- a/android/module.go +++ b/android/module.go @@ -1437,7 +1437,7 @@ func (ctx *androidModuleContext) ExpandSourcesSubDir(srcFiles, excludes []string if m := SrcIsModule(e); m != "" { module := ctx.GetDirectDepWithTag(m, SourceDepTag) if module == nil { - // Error will have been handled by ExtractSourcesDeps + ctx.ModuleErrorf(`missing dependency on %q, is the property annotated with android:"path"?`, m) continue } if srcProducer, ok := module.(SourceFileProducer); ok { @@ -1454,7 +1454,7 @@ func (ctx *androidModuleContext) ExpandSourcesSubDir(srcFiles, excludes []string if m := SrcIsModule(s); m != "" { module := ctx.GetDirectDepWithTag(m, SourceDepTag) if module == nil { - // Error will have been handled by ExtractSourcesDeps + ctx.ModuleErrorf(`missing dependency on %q, is the property annotated with android:"path"?`, m) continue } if srcProducer, ok := module.(SourceFileProducer); ok { |