Merge "Replace aconfig dump --format=bool
with explicit format string" into main
This commit is contained in:
commit
26d2c67339
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ var (
|
||||||
// For create-device-config-sysprops: Generate aconfig flag value map text file
|
// For create-device-config-sysprops: Generate aconfig flag value map text file
|
||||||
aconfigTextRule = pctx.AndroidStaticRule("aconfig_text",
|
aconfigTextRule = pctx.AndroidStaticRule("aconfig_text",
|
||||||
blueprint.RuleParams{
|
blueprint.RuleParams{
|
||||||
Command: `${aconfig} dump --format bool` +
|
Command: `${aconfig} dump --format='{fully_qualified_name}={state:bool}'` +
|
||||||
` --cache ${in}` +
|
` --cache ${in}` +
|
||||||
` --out ${out}.tmp` +
|
` --out ${out}.tmp` +
|
||||||
` && ( if cmp -s ${out}.tmp ${out} ; then rm ${out}.tmp ; else mv ${out}.tmp ${out} ; fi )`,
|
` && ( if cmp -s ${out}.tmp ${out} ; then rm ${out}.tmp ; else mv ${out}.tmp ${out} ; fi )`,
|
||||||
|
|
Loading…
Reference in a new issue