Merge SingletonProviderContext with OtherModuleProviderContext
Bug: 358425833 Test: CI Change-Id: I8e3f40dc3cfc5337008b419801f8e6bf2d48e8b2
This commit is contained in:
@@ -53,7 +53,7 @@ func TestAarImportProducesJniPackages(t *testing.T) {
|
||||
appMod := ctx.Module(tc.name, "android_common")
|
||||
appTestMod := ctx.ModuleForTests(tc.name, "android_common")
|
||||
|
||||
info, ok := android.SingletonModuleProvider(ctx, appMod, JniPackageProvider)
|
||||
info, ok := android.OtherModuleProvider(ctx, appMod, JniPackageProvider)
|
||||
if !ok {
|
||||
t.Errorf("expected android_library_import to have JniPackageProvider")
|
||||
}
|
||||
|
Reference in New Issue
Block a user