Enabled error checking in the built_tools framework (#574)

This commit is contained in:
UebelAndre 2021-03-18 08:41:36 -07:00 committed by GitHub
parent d4256561fa
commit d02390f136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -39,9 +39,7 @@ def built_tool_rule_impl(ctx, script_lines, out_dir, mnemonic):
root = detect_root(ctx.attr.srcs)
script = [
# TODO: The script prelude should be used but for some reason it fails
# on RBE builds.
# "##script_prelude##",
"##script_prelude##",
"export EXT_BUILD_ROOT=##pwd##",
"export INSTALLDIR=$$EXT_BUILD_ROOT$$/{}".format(out_dir.path),
"export BUILD_TMPDIR=$$INSTALLDIR$$.build_tmpdir",