diff --git a/java/lint.go b/java/lint.go index b8ce2a4e5..a77daa85d 100644 --- a/java/lint.go +++ b/java/lint.go @@ -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()) diff --git a/scripts/Android.bp b/scripts/Android.bp index c54b2bcbd..97d5d1d4d 100644 --- a/scripts/Android.bp +++ b/scripts/Android.bp @@ -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"], } diff --git a/scripts/lint-project-xml.py b/scripts/lint_project_xml.py similarity index 100% rename from scripts/lint-project-xml.py rename to scripts/lint_project_xml.py