Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a420257 authored by Jaewoong Jung's avatar Jaewoong Jung
Browse files

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
parent a110439b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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())
+3 −3
Original line number Diff line number Diff line
@@ -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"],
}