diff options
author | Dan Willemsen <dwillemsen@google.com> | 2015-06-19 14:22:08 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2015-06-19 21:25:19 +0000 |
commit | cdd1a99096e574d497e4bbaa1d02ea727422b507 (patch) | |
tree | 624cdadbe0470f13f4234f12f96bf99b97a5d57d /common/module.go | |
parent | 68fdfccd2fd44998c919d1d1c8ae7fb6a7274638 (diff) | |
download | build_soong-cdd1a99096e574d497e4bbaa1d02ea727422b507.tar.gz build_soong-cdd1a99096e574d497e4bbaa1d02ea727422b507.tar.bz2 build_soong-cdd1a99096e574d497e4bbaa1d02ea727422b507.zip |
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
Diffstat (limited to 'common/module.go')
-rw-r--r-- | common/module.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/module.go b/common/module.go index bf3c435e..c39b55a1 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 } |