summaryrefslogtreecommitdiff
path: root/fsgen/filesystem_creator.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-03-05 18:21:43 +0000
committer Spandan Das <spandandas@google.com> 2025-03-05 10:27:55 -0800
commit24f099df737e62f1a6c12c5555da919f62854f51 (patch)
tree22614f650dd3741af5ec26aab11a4cbbef7ca97e /fsgen/filesystem_creator.go
parent7f20e2af6fa70fe48823d5ae6f76b534525c97bb (diff)
Generate aconfig flags for autogenerated system_ext partition
The aconfig flags for system_ext were previously bundled with system/, but was recently split in https://r.android.com/3488672 Test: Verified that out/soong/.intermediates/build/soong/fsgen/aosp_cf_x86_64_phone_generated_system_ext_image/android_common/system_ext/etc/aconfig_flags.pb is created and is identical to make built system_ext/etc/aconfig_flags.pb Change-Id: I67ea7db8d4975b026986c5b0e77491793e982a2e
Diffstat (limited to 'fsgen/filesystem_creator.go')
-rw-r--r--fsgen/filesystem_creator.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/fsgen/filesystem_creator.go b/fsgen/filesystem_creator.go
index f00e491cc..29d5e791c 100644
--- a/fsgen/filesystem_creator.go
+++ b/fsgen/filesystem_creator.go
@@ -505,6 +505,7 @@ func partitionSpecificFsProps(ctx android.EarlyModuleContext, partitions allGene
}
fsProps.Security_patch = proptools.StringPtr(ctx.Config().PlatformSecurityPatch())
fsProps.Stem = proptools.StringPtr("system_ext.img")
+ fsProps.Gen_aconfig_flags_pb = proptools.BoolPtr(true)
case "product":
fsProps.Gen_aconfig_flags_pb = proptools.BoolPtr(true)
fsProps.Android_filesystem_deps.System = proptools.StringPtr(partitions.nameForType("system"))