summaryrefslogtreecommitdiff
path: root/android/api_domain.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/api_domain.go')
-rw-r--r--android/api_domain.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/api_domain.go b/android/api_domain.go
index 787665475..0993e3d84 100644
--- a/android/api_domain.go
+++ b/android/api_domain.go
@@ -73,9 +73,9 @@ func ApiDomainFactory() Module {
func (a *apiDomain) DepsMutator(ctx BottomUpMutatorContext) {
for _, cc := range a.properties.Cc_api_contributions {
// Use FarVariationDependencies since the variants of api_domain is a subset of the variants of the dependency cc module
- // Creating a dependency on the first variant is ok since this is a no-op in Soong
+ // Creating a dependency on the first variant that matches (os,arch) is ok since this is a no-op in Soong
// The primary function of this dependency is to create a connected graph in the corresponding bp2build workspace
- ctx.AddFarVariationDependencies([]blueprint.Variation{}, nil, cc)
+ ctx.AddFarVariationDependencies(ctx.Target().Variations(), nil, cc)
}
}