diff options
author | 2024-02-17 00:36:42 +0000 | |
---|---|---|
committer | 2024-02-17 00:36:42 +0000 | |
commit | bba555ee319f8c961bab4fc288d08c9274eed3c9 (patch) | |
tree | 6463ed6c370fe82e36ea1dd9f39e51d8eaf9ec59 /aconfig/init.go | |
parent | af9fc549ca6ba53b80813bd16aac4924e716dbe7 (diff) |
Support aconfig stoage files for apex.
Bug: 323071835
Test: unit tests and manual build test.
Change-Id: I4a1a05b3afdf88058a970040b3f176f36c5c8037
Diffstat (limited to 'aconfig/init.go')
-rw-r--r-- | aconfig/init.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/aconfig/init.go b/aconfig/init.go index 16fb0cd9b..77fb2a791 100644 --- a/aconfig/init.go +++ b/aconfig/init.go @@ -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 |