diff options
Diffstat (limited to 'absl/BUILD.bazel')
-rw-r--r-- | absl/BUILD.bazel | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/absl/BUILD.bazel b/absl/BUILD.bazel index 69bdbf14..b2300ba9 100644 --- a/absl/BUILD.bazel +++ b/absl/BUILD.bazel @@ -36,7 +36,7 @@ config_setting( ) config_setting( - name = "mingw_compiler", + name = "mingw_unspecified_compiler", flag_values = { "@bazel_tools//tools/cpp:compiler": "mingw", }, @@ -44,6 +44,14 @@ config_setting( ) config_setting( + name = "mingw-gcc_compiler", + flag_values = { + "@bazel_tools//tools/cpp:compiler": "mingw-gcc", + }, + visibility = [":__subpackages__"], +) + +config_setting( name = "msvc_compiler", flag_values = { "@bazel_tools//tools/cpp:compiler": "msvc-cl", @@ -131,3 +139,12 @@ config_setting( }, visibility = [":__subpackages__"], ) + +selects.config_setting_group( + name = "mingw_compiler", + match_any = [ + ":mingw_unspecified_compiler", + ":mingw-gcc_compiler", + ], + visibility = [":__subpackages__"], +) |