Merge "Increase heap size for lint tool"
This commit is contained in:
@@ -319,7 +319,7 @@ func (l *linter) lint(ctx android.ModuleContext) {
|
||||
|
||||
cmd := rule.Command().
|
||||
Text("(").
|
||||
Flag("JAVA_OPTS=-Xmx2048m").
|
||||
Flag("JAVA_OPTS=-Xmx3072m").
|
||||
FlagWithArg("ANDROID_SDK_HOME=", homeDir.String()).
|
||||
FlagWithInput("SDK_ANNOTATIONS=", annotationsZipPath).
|
||||
FlagWithInput("LINT_OPTS=-DLINT_API_DATABASE=", apiVersionsXMLPath).
|
||||
|
Reference in New Issue
Block a user