Merge "Fix some minor issues with boot_image" am: aded43c808

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1566176

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I072b9171a01e09f2b5b3f7a2f84ae2a706c044bc
This commit is contained in:
Paul Duffin 2021-02-01 10:54:21 +00:00 committed by Automerger Merge Worker
commit 92db324beb
3 changed files with 11 additions and 11 deletions

View File

@ -71,6 +71,16 @@ func TestBootImages(t *testing.T) {
],
srcs: ["b.java"],
}
boot_image {
name: "art-boot-image",
image_name: "art",
}
boot_image {
name: "framework-boot-image",
image_name: "boot",
}
`,
// Configure some libraries in the art and framework boot images.
withArtBootImageJars("com.android.art:baz", "com.android.art:quuz"),

View File

@ -48,7 +48,7 @@ type BootImageModule struct {
func bootImageFactory() android.Module {
m := &BootImageModule{}
m.AddProperties(&m.properties)
android.InitAndroidArchModule(m, android.HostAndDeviceDefault, android.MultilibCommon)
android.InitAndroidArchModule(m, android.HostAndDeviceSupported, android.MultilibCommon)
android.InitApexModule(m)
return m
}

View File

@ -219,16 +219,6 @@ func GatherRequiredDepsForTest() string {
dex_bootjars {
name: "dex_bootjars",
}
boot_image {
name: "art-boot-image",
image_name: "art",
}
boot_image {
name: "framework-boot-image",
image_name: "boot",
}
`
return bp