diff options
author | 2023-08-10 21:47:40 +0000 | |
---|---|---|
committer | 2023-08-10 21:54:59 +0000 | |
commit | 3f65a416b8b2d27fbcd72061f6e3d00aff185687 (patch) | |
tree | 7a33cdc2c3c58e7ec8c889ad456b3f5972d89959 /aconfig/init.go | |
parent | 4fa1bfe1690b279db1f37b48252860fa7a2ff119 (diff) |
Support default-permission in aconfig_declarations
Aconfig provides new argument, default-permission, for create-cache.
When buld aconfig_declarations, aconfig_declarations will read the value
from release configuration to pass this value to aconfig.
Bug: 294417368
Test: presubmit
Change-Id: Id55dab1d757e2366a62449c73e2497cc958c5e78
Diffstat (limited to 'aconfig/init.go')
-rw-r--r-- | aconfig/init.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aconfig/init.go b/aconfig/init.go index 37167aa5d..887198bfc 100644 --- a/aconfig/init.go +++ b/aconfig/init.go @@ -29,6 +29,7 @@ var ( ` --package ${package}` + ` ${declarations}` + ` ${values}` + + ` ${default-permission}` + ` --cache ${out}.tmp` + ` && ( if cmp -s ${out}.tmp ${out} ; then rm ${out}.tmp ; else mv ${out}.tmp ${out} ; fi )`, // ` --build-id ${release_version}` + @@ -36,7 +37,7 @@ var ( "${aconfig}", }, Restat: true, - }, "release_version", "package", "declarations", "values") + }, "release_version", "package", "declarations", "values", "default-permission") // For java_aconfig_library: Generate java file javaRule = pctx.AndroidStaticRule("java_aconfig_library", |