1 # Copyright 2019, OpenTelemetry Authors
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
17 package(default_visibility = ["//visibility:public"])
21 build_setting_default = False,
26 hdrs = glob(["include/**/*.h"]),
28 ":with_external_abseil": ["HAVE_ABSEIL"],
29 "//conditions:default": [],
31 strip_include_prefix = "include",
34 ":with_external_abseil": [
35 "@com_google_absl//absl/base",
36 "@com_google_absl//absl/types:variant",
38 "//conditions:default": [],
43 name = "with_external_abseil",
44 flag_values = {":with_abseil": "true"},