From 98047cfd07944b297a12d173453bc984806760d2 Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Wed, 2 Oct 2024 17:13:54 +0000 Subject: Introduce soong_filesystem_creator module type The module generates soong-built filesystem modules. This module creates the system partition submodule, and will create other partition filesystem submodules in the future. Note that not all properties of the system submodule is currently set; some properties like `deps` are not currently set. Test: m nothing --no-skip-soong-tests Bug: 369682648 Change-Id: I671a9b6a61e5453117f604394191243c5ae047d9 --- filesystem/filesystem.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'filesystem/filesystem.go') diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index 035399282..a26fac7fc 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -37,7 +37,7 @@ func init() { func registerBuildComponents(ctx android.RegistrationContext) { ctx.RegisterModuleType("android_filesystem", filesystemFactory) ctx.RegisterModuleType("android_filesystem_defaults", filesystemDefaultsFactory) - ctx.RegisterModuleType("android_system_image", systemImageFactory) + ctx.RegisterModuleType("android_system_image", SystemImageFactory) ctx.RegisterModuleType("avb_add_hash_footer", avbAddHashFooterFactory) ctx.RegisterModuleType("avb_add_hash_footer_defaults", avbAddHashFooterDefaultsFactory) ctx.RegisterModuleType("avb_gen_vbmeta_image", avbGenVbmetaImageFactory) @@ -49,7 +49,7 @@ type filesystem struct { android.PackagingBase android.DefaultableModuleBase - properties filesystemProperties + properties FilesystemProperties // Function that builds extra files under the root directory and returns the files buildExtraFiles func(ctx android.ModuleContext, root android.OutputPath) android.OutputPaths @@ -71,7 +71,7 @@ type symlinkDefinition struct { Name *string } -type filesystemProperties struct { +type FilesystemProperties struct { // When set to true, sign the image with avbtool. Default is false. Use_avb *bool -- cgit v1.2.3-59-g8ed1b