Commit c42313f6 authored by Andrew Grieve's avatar Andrew Grieve Committed by Commit Bot

Don't limit concurrent javac executions when goma is enabled

Bug: 726475
Change-Id: Ic1e675edb3fc170ea238193e1b75405511527335
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2075038
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744675}
parent c9db0ad3
...@@ -153,3 +153,10 @@ config("default_orderfile_instrumentation") { ...@@ -153,3 +153,10 @@ config("default_orderfile_instrumentation") {
} }
} }
} }
if (current_toolchain == default_toolchain) {
pool("goma_javac_pool") {
# Override action_pool when goma is enabled for javac.
depth = 10000
}
}
...@@ -2792,6 +2792,9 @@ if (enable_java_templates) { ...@@ -2792,6 +2792,9 @@ if (enable_java_templates) {
} }
if (use_java_goma) { if (use_java_goma) {
args += [ "--gomacc-path=$goma_dir/gomacc" ] args += [ "--gomacc-path=$goma_dir/gomacc" ]
# Override the default action_pool when goma is enabled.
pool = "//build/config/android:goma_javac_pool"
} }
if (defined(invoker.srcjar_filearg)) { if (defined(invoker.srcjar_filearg)) {
args += [ "--java-srcjars=${invoker.srcjar_filearg}" ] args += [ "--java-srcjars=${invoker.srcjar_filearg}" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment