Merge SingletonProviderContext with OtherModuleProviderContext
Bug: 358425833 Test: CI Change-Id: I8e3f40dc3cfc5337008b419801f8e6bf2d48e8b2
This commit is contained in:
@@ -33,7 +33,7 @@ func TestAconfigValues(t *testing.T) {
|
||||
module := result.ModuleForTests("module_name", "").Module().(*ValuesModule)
|
||||
|
||||
// Check that the provider has the right contents
|
||||
depData, _ := android.SingletonModuleProvider(result, module, valuesProviderKey)
|
||||
depData, _ := android.OtherModuleProvider(result, module, valuesProviderKey)
|
||||
android.AssertStringEquals(t, "package", "foo.package", depData.Package)
|
||||
android.AssertPathsEndWith(t, "srcs", []string{"blah.aconfig_values"}, depData.Values)
|
||||
}
|
||||
|
Reference in New Issue
Block a user