Merge "Fix some minor issues with boot_image" am: aded43c808
am: 92db324beb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1566176 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I54537d03a79ad26895ecbee9be0e64fbde575c0f
This commit is contained in:
@@ -71,6 +71,16 @@ func TestBootImages(t *testing.T) {
|
|||||||
],
|
],
|
||||||
srcs: ["b.java"],
|
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.
|
// Configure some libraries in the art and framework boot images.
|
||||||
withArtBootImageJars("com.android.art:baz", "com.android.art:quuz"),
|
withArtBootImageJars("com.android.art:baz", "com.android.art:quuz"),
|
||||||
|
@@ -48,7 +48,7 @@ type BootImageModule struct {
|
|||||||
func bootImageFactory() android.Module {
|
func bootImageFactory() android.Module {
|
||||||
m := &BootImageModule{}
|
m := &BootImageModule{}
|
||||||
m.AddProperties(&m.properties)
|
m.AddProperties(&m.properties)
|
||||||
android.InitAndroidArchModule(m, android.HostAndDeviceDefault, android.MultilibCommon)
|
android.InitAndroidArchModule(m, android.HostAndDeviceSupported, android.MultilibCommon)
|
||||||
android.InitApexModule(m)
|
android.InitApexModule(m)
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
@@ -219,16 +219,6 @@ func GatherRequiredDepsForTest() string {
|
|||||||
dex_bootjars {
|
dex_bootjars {
|
||||||
name: "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
|
return bp
|
||||||
|
Reference in New Issue
Block a user