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

Remove unnecessary exec_script for secondary toolchain

Change-Id: I457dd7e9cc616038b50122e1fc12266ca24df92f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2075037
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: default avatarTakuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744807}
parent e69a9528
...@@ -10,11 +10,11 @@ declare_args() { ...@@ -10,11 +10,11 @@ declare_args() {
action_pool_depth = -1 action_pool_depth = -1
} }
if (action_pool_depth == -1 || use_goma) { if (current_toolchain == default_toolchain) {
if (action_pool_depth == -1 || use_goma) {
action_pool_depth = exec_script("get_cpu_count.py", [], "value") action_pool_depth = exec_script("get_cpu_count.py", [], "value")
} }
if (current_toolchain == default_toolchain) {
pool("link_pool") { pool("link_pool") {
depth = concurrent_links depth = concurrent_links
} }
......
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