From fd3ac7427a85a51dd8f24e3c95a93eb6e4a870bd Mon Sep 17 00:00:00 2001 From: Fahrzin Hemmati Date: Wed, 25 Jan 2023 15:19:20 -0800 Subject: Add mingw as a config_setting --- absl/BUILD.bazel | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/absl/BUILD.bazel b/absl/BUILD.bazel index 29963ccc..69bdbf14 100644 --- a/absl/BUILD.bazel +++ b/absl/BUILD.bazel @@ -35,6 +35,14 @@ config_setting( visibility = [":__subpackages__"], ) +config_setting( + name = "mingw_compiler", + flag_values = { + "@bazel_tools//tools/cpp:compiler": "mingw", + }, + visibility = [":__subpackages__"], +) + config_setting( name = "msvc_compiler", flag_values = { -- cgit v1.2.3