From bf6166a635ab57fe0559b00dcd3ff09a8c42de2e Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 10 Apr 2020 13:33:13 -0700 Subject: Export of internal Abseil changes -- 1eb20c4802ccaa316ecebc237877210b77ac84f7 by Abseil Team : Use constraint_values to detect windows. This resolves ambiguous copts when cross compiling with LLVM on Windows. PiperOrigin-RevId: 305935379 -- 47c96948132a577b14642ad4c910052768c41d62 by Abseil Team : Add StrSplit conversion tests for the swisstable containers. PiperOrigin-RevId: 305747160 -- 0daea0f78b50d49520bd6e67d093cd87d057bb86 by Abseil Team : Typo fix: Removes duplicate word. PiperOrigin-RevId: 305502962 GitOrigin-RevId: 1eb20c4802ccaa316ecebc237877210b77ac84f7 Change-Id: I1bfa0beda0260027a22bc671344cc8b74315b77a --- absl/BUILD.bazel | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'absl/BUILD.bazel') diff --git a/absl/BUILD.bazel b/absl/BUILD.bazel index 5a03acf87ca8..f7fc2a7f1651 100644 --- a/absl/BUILD.bazel +++ b/absl/BUILD.bazel @@ -44,9 +44,10 @@ config_setting( config_setting( name = "windows", - values = { - "cpu": "x64_windows", - }, + constraint_values = [ + "@bazel_tools//platforms:x86_64", + "@bazel_tools//platforms:windows", + ], visibility = [":__subpackages__"], ) -- cgit 1.4.1