summaryrefslogtreecommitdiffstats
path: root/build/toolchain/gcc_toolchain.gni
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2014-09-09 13:56:20 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-09 21:00:57 +0000
commit937a6d51df85cd7e338b952aeacb03bf7e5726c2 (patch)
tree0d130c284aecbc09db1d6a1e006230f38a79803a /build/toolchain/gcc_toolchain.gni
parent4369696f66e27c44d6bfd66806042090ac6807b0 (diff)
downloadchromium_src-937a6d51df85cd7e338b952aeacb03bf7e5726c2.zip
chromium_src-937a6d51df85cd7e338b952aeacb03bf7e5726c2.tar.gz
chromium_src-937a6d51df85cd7e338b952aeacb03bf7e5726c2.tar.bz2
Hook up the link pool in the GN build.
This uses the code from GYP to compute the maximum number of concurrent links to use in the link pool, and sets this value in the toolchains. Review URL: https://codereview.chromium.org/548633004 Cr-Commit-Position: refs/heads/master@{#294007}
Diffstat (limited to 'build/toolchain/gcc_toolchain.gni')
-rw-r--r--build/toolchain/gcc_toolchain.gni3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni
index ea13aad..f95e084 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -2,6 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# This value will be inherited in the toolchain below.
+concurrent_links = exec_script("get_concurrent_links.py", [], "value")
+
# This template defines a toolchain for something that works like gcc
# (including clang).
#