From 68e6b5df245920bc7d2935d18b93f31070c7bc01 Mon Sep 17 00:00:00 2001 From: dbolduc Date: Fri, 14 Jun 2024 17:06:16 -0400 Subject: [PATCH 1/2] fix(ci): restore Bazel flag removed from public API --- api/BUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/BUILD b/api/BUILD index 2eca1de986..bf821ad36c 100644 --- a/api/BUILD +++ b/api/BUILD @@ -1,7 +1,7 @@ # Copyright The OpenTelemetry Authors # SPDX-License-Identifier: Apache-2.0 -load("@bazel_skylib//rules:common_settings.bzl", "string_flag") +load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "string_flag") package(default_visibility = ["//visibility:public"]) @@ -55,3 +55,9 @@ config_setting( constraint_values = ["@bazel_tools//tools/cpp:msvc"], flag_values = {":with_cxx_stdlib": "best"}, ) + +bool_flag( + name = "with_abseil", + build_setting_default = False, + deprecation = "The value of this flag is ignored. Bazel builds always depend on Abseil for its pre-adopted `std::` types. You should remove this flag from your build command." +) From cbceed146db964bffbfbbe789a0344c4d71d0548 Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Sat, 15 Jun 2024 17:45:51 +0200 Subject: [PATCH 2/2] Update api/BUILD --- api/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/BUILD b/api/BUILD index bf821ad36c..fdfe3ca146 100644 --- a/api/BUILD +++ b/api/BUILD @@ -59,5 +59,5 @@ config_setting( bool_flag( name = "with_abseil", build_setting_default = False, - deprecation = "The value of this flag is ignored. Bazel builds always depend on Abseil for its pre-adopted `std::` types. You should remove this flag from your build command." + deprecation = "The value of this flag is ignored. Bazel builds always depend on Abseil for its pre-adopted `std::` types. You should remove this flag from your build command.", )