summaryrefslogtreecommitdiff
path: root/apex/vndk.go
diff options
context:
space:
mode:
Diffstat (limited to 'apex/vndk.go')
-rw-r--r--apex/vndk.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/apex/vndk.go b/apex/vndk.go
index 5e630c0c0..d88808b40 100644
--- a/apex/vndk.go
+++ b/apex/vndk.go
@@ -95,7 +95,11 @@ func apexVndkDepsMutator(mctx android.BottomUpMutatorContext) {
// level for the primary architecture.
a.Disable()
} else {
- mctx.AddDependency(mctx.Module(), prebuiltTag, cc.VndkLibrariesTxtModules(vndkVersion, mctx)...)
+ mctx.AddVariationDependencies(
+ mctx.Config().AndroidFirstDeviceTarget.Variations(),
+ prebuiltTag,
+ cc.VndkLibrariesTxtModules(vndkVersion, mctx)...,
+ )
}
}
}