1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
cc_binary(
name = "w3c_tracecontext_http_test_server",
srcs = [
"main.cc",
],
linkopts = select({
"//bazel:windows": [
"-DEFAULTLIB:advapi32.lib",
"-DEFAULTLIB:crypt32.lib",
"-DEFAULTLIB:Normaliz.lib",
],
"//conditions:default": [],
}),
deps = [
"//api",
"//exporters/ostream:ostream_span_exporter",
"//ext:headers",
"//ext/src/http/client/curl:http_client_curl",
"//sdk/src/trace",
"@curl",
"@github_nlohmann_json//:json",
],
)
|