diff --git a/common/module.go b/common/module.go index bf3c435e3..c39b55a11 100644 --- a/common/module.go +++ b/common/module.go @@ -588,6 +588,9 @@ func (c *buildTargetSingleton) GenerateBuildActions(ctx blueprint.SingletonConte // Existing Android.mk file, use that instead if len(files) > 0 { + for _, file := range files { + ctx.AddNinjaFileDeps(file) + } continue }