As usual, might as well roll, and this new behavior is a small convenience.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2231833002
Review-Url: https://codereview.chromium.org/
2231833002
# Dependencies on outside packages.
#
deps = {
- "buildtools": "https://chromium.googlesource.com/chromium/buildtools.git@9c6ad6f5cbc2f30989edc3504ec7f9d360542512",
+ "buildtools": "https://chromium.googlesource.com/chromium/buildtools.git@33a32b8aa2b7274d246fcf85ce8f762cf4291418",
"common": "https://skia.googlesource.com/common.git@c282fe0b6e392b14f88d647cbd86e1a3ef5498e0",
try:
subprocess.check_output(cmd)
except subprocess.CalledProcessError:
- fix = cmd[:]
- fix[2] = '--in-place'
+ fix = 'gn format ' + f.LocalPath()
results.append(output_api.PresubmitError(
- '`%s` failed, try\n\t%s' % (' '.join(cmd), ' '.join(fix))))
+ '`%s` failed, try\n\t%s' % (' '.join(cmd), fix)))
return results
}
}
+pool("link_pool") {
+ depth = 0 #unlimited
+}
+
toolchain("gcc_like") {
lib_switch = "-l"
lib_dir_switch = "-L"
output_prefix = "lib"
default_output_extension = ".so"
description = "$cxx -shared ... -o {{output}}"
+ pool = ":link_pool"
}
tool("link") {
"{{root_out_dir}}/{{target_output_name}}{{output_extension}}",
]
description = "$cxx ... -o {{output}}"
+ pool = ":link_pool"
}
tool("stamp") {