Support aconfig stoage files for apex.

Bug: 323071835
Test: unit tests and manual build test.
Change-Id: I4a1a05b3afdf88058a970040b3f176f36c5c8037
This commit is contained in:
Yu Liu
2024-02-17 00:36:42 +00:00
parent af9fc549ca
commit bba555ee31
3 changed files with 92 additions and 46 deletions

View File

@@ -76,6 +76,14 @@ var (
},
}, "cache_files")
CreateStorageRule = pctx.AndroidStaticRule("aconfig_create_storage",
blueprint.RuleParams{
Command: `${aconfig} create-storage --container ${container} --file ${file_type} --out ${out} ${cache_files}`,
CommandDeps: []string{
"${aconfig}",
},
}, "container", "file_type", "cache_files")
// For exported_java_aconfig_library: Generate a JAR from all
// java_aconfig_libraries to be consumed by apps built outside the
// platform