summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-10-22 16:30:57 -0700
committer Cole Faust <colefaust@google.com> 2024-10-22 16:33:35 -0700
commit5aeb9fd4d89e9ee3911fc61b29a6b04d693734ed (patch)
tree0ebe58916155129fff486698b06bc94b4ea72fd6 /api/api_test.go
parent397dfb6e026e3a00167168d5bef7903fddc32082 (diff)
Remove dependencies on the 1-variant fallback
When adding a dependencies, if the variants don't match, but the dependency only has 1 variant anyways, soong will always use that variant. This makes it hard to add new variants to soong, because the 1-variant fallback stops being used and you start getting missing variant errors. Make changes to bp files such that all dependencies correctly specify the variant to use. Bug: 372091092 Flag: EXEMPT refactor Test: m nothing Change-Id: I305d9a549fc132c3d14f56eae1abbac1b9defd10
Diffstat (limited to 'api/api_test.go')
-rw-r--r--api/api_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api_test.go b/api/api_test.go
index fb26f821eec1..166f053978f2 100644
--- a/api/api_test.go
+++ b/api/api_test.go
@@ -253,7 +253,7 @@ func TestCombinedApisDefaults(t *testing.T) {
`)
subModuleDependsOnSelectAppendedModule := java.CheckModuleHasDependency(t,
- result.TestContext, "foo-current.txt", "", "framework-foo")
+ result.TestContext, "foo-current.txt", "android_common", "framework-foo")
android.AssertBoolEquals(t, "Submodule expected to depend on the select-appended module",
true, subModuleDependsOnSelectAppendedModule)
}