about summary refs log tree commit diff
path: root/absl/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'absl/BUILD.bazel')
-rw-r--r--absl/BUILD.bazel15
1 files changed, 10 insertions, 5 deletions
diff --git a/absl/BUILD.bazel b/absl/BUILD.bazel
index 8e3c1773083f..853330d447eb 100644
--- a/absl/BUILD.bazel
+++ b/absl/BUILD.bazel
@@ -25,13 +25,18 @@ create_llvm_config(
     visibility = [":__subpackages__"],
 )
 
-# following configs are based on mapping defined in: https://git.io/v5Ijz
+config_setting(
+    name = "osx",
+    constraint_values = [
+        "@bazel_tools//platforms:osx",
+    ],
+)
+
 config_setting(
     name = "ios",
-    values = {
-        "cpu": "darwin",
-    },
-    visibility = [":__subpackages__"],
+    constraint_values = [
+        "@bazel_tools//platforms:ios",
+    ],
 )
 
 config_setting(