summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentelemetry-cpp/exporters/etw/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/jaegertracing/opentelemetry-cpp/exporters/etw/BUILD')
-rw-r--r--src/jaegertracing/opentelemetry-cpp/exporters/etw/BUILD69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/jaegertracing/opentelemetry-cpp/exporters/etw/BUILD b/src/jaegertracing/opentelemetry-cpp/exporters/etw/BUILD
new file mode 100644
index 000000000..c2328ed4e
--- /dev/null
+++ b/src/jaegertracing/opentelemetry-cpp/exporters/etw/BUILD
@@ -0,0 +1,69 @@
+package(default_visibility = ["//visibility:public"])
+
+cc_library(
+ name = "etw_exporter",
+ hdrs = glob([
+ "include/opentelemetry/exporters/etw/*.h",
+ ]),
+ includes = ["include"],
+ local_defines = [
+ "HAVE_MSGPACK",
+ ],
+ tags = ["etw"],
+ deps = [
+ "//api",
+ "//sdk/src/trace",
+ "@github_nlohmann_json//:json",
+ ],
+)
+
+cc_test(
+ name = "etw_provider_test",
+ srcs = ["test/etw_provider_test.cc"],
+ local_defines = [
+ "HAVE_MSGPACK",
+ ],
+ tags = [
+ "etw",
+ "test",
+ ],
+ deps = [
+ ":etw_exporter",
+ "@com_google_googletest//:gtest_main",
+ "@github_nlohmann_json//:json",
+ ],
+)
+
+cc_test(
+ name = "etw_tracer_test",
+ srcs = ["test/etw_tracer_test.cc"],
+ local_defines = [
+ "HAVE_MSGPACK",
+ ],
+ tags = [
+ "etw",
+ "test",
+ ],
+ deps = [
+ ":etw_exporter",
+ "@com_google_googletest//:gtest_main",
+ "@github_nlohmann_json//:json",
+ ],
+)
+
+cc_test(
+ name = "etw_logger_test",
+ srcs = ["test/etw_logger_test.cc"],
+ local_defines = [
+ "HAVE_MSGPACK",
+ ],
+ tags = [
+ "etw",
+ "test",
+ ],
+ deps = [
+ ":etw_exporter",
+ "@com_google_googletest//:gtest_main",
+ "@github_nlohmann_json//:json",
+ ],
+)