Replace aconfig dump --format=bool
with explicit format string
aconfig will remove its support for format aliases in an attempt to make future maintenance easier. Update soong accordingly. Bug: 317044915 Test: m Change-Id: I20157ea8c7b441d4e416967d29fc7768c917e688
This commit is contained in:
@@ -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 )`,
|
||||||
|
Reference in New Issue
Block a user