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:
parent
a110439b3c
commit
5a4202575e
|
@ -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())
|
||||
|
|
|
@ -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"],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue