Use merge_csv python_binary.

Instead of using .py file directly.

Bug: 145132366
Test: diff -w out/soong/hiddenapi/hiddenapi-greylist.csv
Change-Id: Ib79019234b4ae05486e831b30d27bd1be3bbba67
This commit is contained in:
Artur Satayev
2020-01-20 17:53:31 +00:00
parent 814bebb8ea
commit b01dd44266

View File

@@ -293,7 +293,7 @@ func metadataRule(ctx android.SingletonContext) android.Path {
outputPath := hiddenAPISingletonPaths(ctx).metadata outputPath := hiddenAPISingletonPaths(ctx).metadata
rule.Command(). rule.Command().
Tool(android.PathForSource(ctx, "frameworks/base/tools/hiddenapi/merge_csv.py")). BuiltTool(ctx, "merge_csv").
Inputs(metadataCSV). Inputs(metadataCSV).
Text(">"). Text(">").
Output(outputPath) Output(outputPath)