diff options
| author | 2024-08-13 16:15:51 +0000 | |
|---|---|---|
| committer | 2024-08-13 16:15:51 +0000 | |
| commit | 73282e8129f0bae5bb8c2a56520c7d8b2bc310a2 (patch) | |
| tree | f87caec4abbe7a7180b0cfa078d616c1cfa4c673 /java/bootclasspath_fragment_test.go | |
| parent | 4081f58abb2e946147aada9218b432642812aa5c (diff) | |
| parent | 246b43049c88572de399648718f70a28d3b245ba (diff) | |
Merge "Merge SingletonProviderContext with OtherModuleProviderContext" into main am: 246b43049c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3216676
Change-Id: Ib0d8eb66616fa4775e3827b4956ad19034bf1cc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'java/bootclasspath_fragment_test.go')
| -rw-r--r-- | java/bootclasspath_fragment_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/bootclasspath_fragment_test.go b/java/bootclasspath_fragment_test.go index d72417afa..60f1a50e1 100644 --- a/java/bootclasspath_fragment_test.go +++ b/java/bootclasspath_fragment_test.go @@ -273,7 +273,7 @@ func TestBootclasspathFragment_StubLibs(t *testing.T) { `) fragment := result.Module("myfragment", "android_common") - info, _ := android.SingletonModuleProvider(result, fragment, HiddenAPIInfoProvider) + info, _ := android.OtherModuleProvider(result, fragment, HiddenAPIInfoProvider) stubsJar := "out/soong/.intermediates/mystublib/android_common/dex/mystublib.jar" @@ -457,7 +457,7 @@ func TestSnapshotWithBootclasspathFragment_HiddenAPI(t *testing.T) { // Make sure that the library exports hidden API properties for use by the bootclasspath_fragment. library := result.Module("mynewlibrary", "android_common") - info, _ := android.SingletonModuleProvider(result, library, hiddenAPIPropertyInfoProvider) + info, _ := android.OtherModuleProvider(result, library, hiddenAPIPropertyInfoProvider) android.AssertArrayString(t, "split packages", []string{"sdklibrary", "newlibrary"}, info.SplitPackages) android.AssertArrayString(t, "package prefixes", []string{"newlibrary.all.mine"}, info.PackagePrefixes) android.AssertArrayString(t, "single packages", []string{"newlibrary.mine"}, info.SinglePackages) |