diff options
Diffstat (limited to 'android/path_properties.go')
-rw-r--r-- | android/path_properties.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/android/path_properties.go b/android/path_properties.go index 1a12290d3..af7af5940 100644 --- a/android/path_properties.go +++ b/android/path_properties.go @@ -39,14 +39,12 @@ func pathDepsMutator(ctx BottomUpMutatorContext) { pathProperties := pathPropertiesForPropertyStruct(ctx, ps) pathProperties = FirstUniqueStrings(pathProperties) - var deps []string for _, s := range pathProperties { - if m := SrcIsModule(s); m != "" { - deps = append(deps, m) + if m, t := SrcIsModuleWithTag(s); m != "" { + ctx.AddDependency(ctx.Module(), sourceOrOutputDepTag(t), m) } } - ctx.AddDependency(ctx.Module(), SourceDepTag, deps...) } } |