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:
commit
92db324beb
|
@ -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"),
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue