Fix non-determinism in prebuilt selection am: f2c1057586
am: d1816e09f0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2984036 Change-Id: I6062c3ccd1e864bd2d5cd7790957db99b6a76f63 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -6199,7 +6199,7 @@ func TestBootDexJarsFromSourcesAndPrebuilts(t *testing.T) {
|
||||
`)
|
||||
})
|
||||
|
||||
t.Run("Co-existing unflagged apexes should create a duplicate deapexer error in hiddenapi processing", func(t *testing.T) {
|
||||
t.Run("Co-existing unflagged apexes should create a duplicate module error", func(t *testing.T) {
|
||||
bp := `
|
||||
// Source
|
||||
apex {
|
||||
@@ -6273,7 +6273,7 @@ func TestBootDexJarsFromSourcesAndPrebuilts(t *testing.T) {
|
||||
}
|
||||
`
|
||||
|
||||
testDexpreoptWithApexes(t, bp, "Multiple installable prebuilt APEXes provide ambiguous deapexers: prebuilt_myapex.v1 and prebuilt_myapex.v2", preparer, fragment)
|
||||
testDexpreoptWithApexes(t, bp, "Multiple prebuilt modules prebuilt_myapex.v1 and prebuilt_myapex.v2 have been marked as preferred for this source module", preparer, fragment)
|
||||
})
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user