Support dex_import on platform_bootclasspath
Maintain compatibility with previous behavior by ignoring dex_import during hidden API processing. Bug: 179354495 Test: m nothing Change-Id: I976b02129bf981b7b61dce233567d6f89e04f92d
This commit is contained in:
@@ -133,6 +133,23 @@ func TestPlatformBootclasspath(t *testing.T) {
|
||||
"platform:bar",
|
||||
})
|
||||
})
|
||||
|
||||
t.Run("dex import", func(t *testing.T) {
|
||||
result := android.GroupFixturePreparers(
|
||||
preparer,
|
||||
android.FixtureAddTextFile("deximport/Android.bp", `
|
||||
dex_import {
|
||||
name: "foo",
|
||||
jars: ["a.jar"],
|
||||
}
|
||||
`),
|
||||
).RunTest(t)
|
||||
|
||||
CheckPlatformBootclasspathModules(t, result, "platform-bootclasspath", []string{
|
||||
"platform:prebuilt_foo",
|
||||
"platform:bar",
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
func TestPlatformBootclasspath_Fragments(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user