Minor changes to the BUILD file for absl/synchronization

PiperOrigin-RevId: 603816996
Change-Id: Ifc7dc6299e65043697b4a0c6e9e8eef869297ce3
diff --git a/absl/synchronization/BUILD.bazel b/absl/synchronization/BUILD.bazel
index f747d14..dafeba3 100644
--- a/absl/synchronization/BUILD.bazel
+++ b/absl/synchronization/BUILD.bazel
@@ -69,7 +69,9 @@
         "//absl/base:core_headers",
         "//absl/base:raw_logging_internal",
         "//absl/time",
-    ],
+    ] + select({
+        "//conditions:default": [],
+    }),
 )
 
 cc_test(