From cdd1a99096e574d497e4bbaa1d02ea727422b507 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Fri, 19 Jun 2015 14:22:08 -0700 Subject: [PATCH] Add dependency to existing Android.mk files So that we generate the Android.mk file if it is removed. Adding Android.mk files is already handled by the implicit dependencies in common.Glob Change-Id: I568e24b7bc44ecadbbe01c1f7c6a97afd819c7db --- common/module.go | 3 +++ 1 file changed, 3 insertions(+) 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 }