From 08271dea6693eff165901f2d9fa8bd3ed789aa1c Mon Sep 17 00:00:00 2001 From: pcloudy Date: Tue, 1 Aug 2017 10:17:15 +0200 Subject: Add config_settings for Darwin in src/BUILD.tools Fix http://ci.bazel.io/blue/organizations/jenkins/Global%2FTutorial/detail/Tutorial/52/pipeline/ RELNOTES: None PiperOrigin-RevId: 163802763 --- src/BUILD.tools | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/BUILD.tools') diff --git a/src/BUILD.tools b/src/BUILD.tools index 46a13e6e71..214ed44836 100644 --- a/src/BUILD.tools +++ b/src/BUILD.tools @@ -4,6 +4,18 @@ config_setting( visibility = ["//visibility:public"], ) +config_setting( + name = "darwin", + values = {"cpu": "darwin"}, + visibility = ["//visibility:public"], +) + +config_setting( + name = "darwin_x86_64", + values = {"cpu": "darwin_x86_64"}, + visibility = ["//visibility:public"], +) + config_setting( name = "windows", values = {"cpu": "x64_windows"}, -- cgit v1.2.3