Update soong for new lint version
Test: m nothing Change-Id: Iaa9d37ef73f1fef5f2dbb8a840e774bb86c65bf7
This commit is contained in:
parent
85822e9b5f
commit
70acc3dc0c
|
@ -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)
|
||||
|
|
|
@ -76,3 +76,5 @@
|
|||
|
||||
# TODO(b/158390965): remove this when lint doesn't crash
|
||||
--disable_check HardcodedDebugMode
|
||||
|
||||
--warning_check QueryAllPackagesPermission
|
||||
|
|
Loading…
Reference in New Issue