Skip to content

Commit

Permalink
[BUILD] Restore Bazel flag removed from public API (#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc authored Jun 15, 2024
1 parent f97dc06 commit 9af3c99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion api/BUILD
Original file line number Diff line number Diff line change
@@ -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"])

Expand Down Expand Up @@ -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.",
)

0 comments on commit 9af3c99

Please sign in to comment.