Use flag names with merge_csv.py.

Bug: 145132366
Test: diff -w out/soong/hiddenapi/hiddenapi-greylist.csv
Change-Id: If63c8ae5eda48e49bf58a338bf08f0f2d4fea3cf
This commit is contained in:
Artur Satayev 2020-01-20 19:11:33 +00:00
parent ae83ce656d
commit 79fac05b45
1 changed files with 2 additions and 3 deletions

View File

@ -294,9 +294,8 @@ func metadataRule(ctx android.SingletonContext) android.Path {
rule.Command().
BuiltTool(ctx, "merge_csv").
Inputs(metadataCSV).
Text(">").
Output(outputPath)
FlagWithOutput("--output=", outputPath).
Inputs(metadataCSV)
rule.Build(pctx, ctx, "hiddenAPIGreylistMetadataFile", "hiddenapi greylist metadata")