platform_build_soong/filesystem/Android.bp
Justin Yun 74f3f30ae4 Soong filesystem may install aconfig_flags.pb
By setting aconfig_flags: true, soong filesystem module installs the
aconfig_flags.pb file to its etc directory.

We need to define aconfigFilePaths to ModuleBase to store the list of
aconfig file paths that is generated from the GenerateBuildActions().
The aconfigFilePaths are collected when build the filesystem module
to build the aconfig_flags.pb for the filesystem image.

Bug: 335363964
Test: compare the cache list with those generated from make.
Change-Id: Ia32b566bf43174e94b9e610b9503608c6b583899
2024-05-13 23:14:42 +00:00

34 lines
796 B
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package {
name: "soong-filesystem",
pkgPath: "android/soong/filesystem",
deps: [
"blueprint",
"soong",
"soong-android",
"soong-bpf", // for testing
"soong-java", // for testing
"soong-linkerconfig",
"soong-phony", // for testing
],
srcs: [
"aconfig_files.go",
"avb_add_hash_footer.go",
"avb_gen_vbmeta_image.go",
"bootimg.go",
"filesystem.go",
"fsverity_metadata.go",
"logical_partition.go",
"raw_binary.go",
"system_image.go",
"vbmeta.go",
"testing.go",
],
testSrcs: [
"filesystem_test.go",
],
pluginFor: ["soong_build"],
}