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

Commit 9537d594 authored by Pedro Loureiro's avatar Pedro Loureiro Committed by Gerrit Code Review
Browse files

Merge "Update soong for new lint version"

parents de21202b 70acc3dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ func (l *linter) lint(ctx android.ModuleContext) {

	cmd := rule.Command()

	cmd.Flag("JAVA_OPTS=-Xmx3072m").
	cmd.Flag(`JAVA_OPTS="-Xmx3072m --add-opens java.base/java.util=ALL-UNNAMED"`).
		FlagWithArg("ANDROID_SDK_HOME=", lintPaths.homeDir.String()).
		FlagWithInput("SDK_ANNOTATIONS=", annotationsZipPath).
		FlagWithInput("LINT_OPTS=-DLINT_API_DATABASE=", apiVersionsXMLPath)
+2 −0
Original line number Diff line number Diff line
@@ -76,3 +76,5 @@

# TODO(b/158390965): remove this when lint doesn't crash
--disable_check HardcodedDebugMode

--warning_check QueryAllPackagesPermission