From d02390f1363cdd2ba5a7f7907a481503d483d569 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Thu, 18 Mar 2021 08:41:36 -0700 Subject: [PATCH] Enabled error checking in the built_tools framework (#574) --- foreign_cc/built_tools/private/built_tools_framework.bzl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/foreign_cc/built_tools/private/built_tools_framework.bzl b/foreign_cc/built_tools/private/built_tools_framework.bzl index 2ed2cc97..9d49f107 100644 --- a/foreign_cc/built_tools/private/built_tools_framework.bzl +++ b/foreign_cc/built_tools/private/built_tools_framework.bzl @@ -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",