Don't add dependencies on modules referenced in unused arch variants
When extracting dependencies from properties tagged with `android:"path"`, only look at the general property structs and not the arch-specific ones. The necessary arch-specific values will be appended into the general property structs. Fixes: 128377112 Test: path_properties_test.go Change-Id: I35e35555d5b15473229a7458fcfc2c7dacaec889
This commit is contained in:
@@ -33,7 +33,7 @@ func pathDepsMutator(ctx BottomUpMutatorContext) {
|
||||
return
|
||||
}
|
||||
|
||||
props := m.base().customizableProperties
|
||||
props := m.base().generalProperties
|
||||
|
||||
for _, ps := range props {
|
||||
pathProperties := pathPropertiesForPropertyStruct(ctx, ps)
|
||||
|
Reference in New Issue
Block a user