summaryrefslogtreecommitdiff
path: root/filesystem/bootimg.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-11-14 10:54:48 -0800
committer Cole Faust <colefaust@google.com> 2024-11-15 14:52:00 -0800
commitf2a6e8bc9c677cdabc937f32922a6c799dba4619 (patch)
treebf4b943965dc3b42e4b3796cfcedf83ddab2d9c6 /filesystem/bootimg.go
parent80a4e45395cfb58665f68e6ac5371f4c4de4af19 (diff)
Build boot.img with soong
Bug: 377562951 Test: m nothing Change-Id: Icb0510eb457814fca0cfeece76e8e584a7c17350
Diffstat (limited to 'filesystem/bootimg.go')
-rw-r--r--filesystem/bootimg.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/filesystem/bootimg.go b/filesystem/bootimg.go
index c9bd61788..226d95cbf 100644
--- a/filesystem/bootimg.go
+++ b/filesystem/bootimg.go
@@ -26,19 +26,19 @@ import (
)
func init() {
- android.RegisterModuleType("bootimg", bootimgFactory)
+ android.RegisterModuleType("bootimg", BootimgFactory)
}
type bootimg struct {
android.ModuleBase
- properties bootimgProperties
+ properties BootimgProperties
output android.Path
installDir android.InstallPath
}
-type bootimgProperties struct {
+type BootimgProperties struct {
// Set the name of the output. Defaults to <module_name>.img.
Stem *string
@@ -82,7 +82,7 @@ type bootimgProperties struct {
}
// bootimg is the image for the boot partition. It consists of header, kernel, ramdisk, and dtb.
-func bootimgFactory() android.Module {
+func BootimgFactory() android.Module {
module := &bootimg{}
module.AddProperties(&module.properties)
android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibFirst)