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