diff options
author | Fahrzin Hemmati <fahhem@users.noreply.github.com> | 2023-01-25 15:19:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 15:19:20 -0800 |
commit | fd3ac7427a85a51dd8f24e3c95a93eb6e4a870bd (patch) | |
tree | 31adb363b8808ced64d3befb4233370de1a6705f | |
parent | a69b0ae5cdba53a45617afc408618a3e1ac244de (diff) |
Add mingw as a config_setting
-rw-r--r-- | absl/BUILD.bazel | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/absl/BUILD.bazel b/absl/BUILD.bazel index 29963ccc..69bdbf14 100644 --- a/absl/BUILD.bazel +++ b/absl/BUILD.bazel @@ -36,6 +36,14 @@ config_setting( ) config_setting( + name = "mingw_compiler", + flag_values = { + "@bazel_tools//tools/cpp:compiler": "mingw", + }, + visibility = [":__subpackages__"], +) + +config_setting( name = "msvc_compiler", flag_values = { "@bazel_tools//tools/cpp:compiler": "msvc-cl", |