diff --git a/android/soong_config_modules.go b/android/soong_config_modules.go index f54e774f8..198108d65 100644 --- a/android/soong_config_modules.go +++ b/android/soong_config_modules.go @@ -303,6 +303,7 @@ func loadSoongConfigModuleTypeDefinition(ctx LoadHookContext, from string) map[s } return ctx.Config().Once(key, func() interface{} { + ctx.AddNinjaFileDeps(from) r, err := ctx.Config().fs.Open(from) if err != nil { ctx.PropertyErrorf("from", "failed to open %q: %s", from, err)