Rename lint-project-xml.py to remove dashes.

So that a future test can import it without a dirty syntax.

Test: m lint-check
Bug: 182349282
Change-Id: I520a5af49543801ab2a8ee888ff235876546dc74
This commit is contained in:
Jaewoong Jung 2021-04-19 17:58:22 -07:00
parent a110439b3c
commit 5a4202575e
3 changed files with 4 additions and 4 deletions

View File

@ -200,7 +200,7 @@ func (l *linter) writeLintProjectXML(ctx android.ModuleContext, rule *android.Ru
srcJarList := zipSyncCmd(ctx, rule, srcJarDir, l.srcJars)
cmd := rule.Command().
BuiltTool("lint-project-xml").
BuiltTool("lint_project_xml").
FlagWithOutput("--project_out ", projectXMLPath).
FlagWithOutput("--config_out ", configXMLPath).
FlagWithArg("--name ", ctx.ModuleName())

View File

@ -219,10 +219,10 @@ python_library_host {
}
python_binary_host {
name: "lint-project-xml",
main: "lint-project-xml.py",
name: "lint_project_xml",
main: "lint_project_xml.py",
srcs: [
"lint-project-xml.py",
"lint_project_xml.py",
],
libs: ["ninja_rsp"],
}