From b8d0230f7d66f02a4a9a7e0a57f5233b623fa7bf Mon Sep 17 00:00:00 2001 From: Marco Poletti Date: Sun, 9 Jun 2019 14:41:13 -0700 Subject: Set a 'toolchains' param in a BUILD rule. This is needed for the code to compile with the latest version of bazel. --- tests/BUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/BUILD b/tests/BUILD index fa6349f..448d757 100644 --- a/tests/BUILD +++ b/tests/BUILD @@ -55,6 +55,7 @@ genrule( "fruit_test_config.py", "libfruit.so" ], + toolchains = ["@bazel_tools//tools/cpp:cc_flags"], visibility = ["//third_party/fruit/tests:__subpackages__"], cmd = "" + "FRUIT_HEADERS_LOCATION=`for f in $(locations //third_party/fruit:fruit_headers); do echo \"$$f\"; done | fgrep configuration/bazel/ | head -n 1 | sed 's|configuration/bazel/.*|./|'`;" -- cgit v1.2.3