@@ -76,7 +76,7 @@ cc_library(
7676 defines = select ({
7777 ":enable_otlp_grpc_credential_preview" : ["ENABLE_OTLP_GRPC_CREDENTIAL_PREVIEW" ],
7878 "//conditions:default" : [],
79- }),
79+ }) + [ "ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW" ] ,
8080 strip_include_prefix = "include" ,
8181 tags = [
8282 "otlp" ,
@@ -122,6 +122,7 @@ cc_library(
122122 "include/opentelemetry/exporters/otlp/protobuf_include_prefix.h" ,
123123 "include/opentelemetry/exporters/otlp/protobuf_include_suffix.h" ,
124124 ],
125+ defines = ["ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW" ],
125126 strip_include_prefix = "include" ,
126127 tags = [
127128 "otlp" ,
@@ -146,6 +147,7 @@ cc_library(
146147 hdrs = [
147148 "include/opentelemetry/exporters/otlp/otlp_grpc_span_builder.h" ,
148149 ],
150+ defines = ["ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW" ],
149151 strip_include_prefix = "include" ,
150152 tags = [
151153 "otlp" ,
@@ -336,6 +338,7 @@ cc_library(
336338 "include/opentelemetry/exporters/otlp/protobuf_include_prefix.h" ,
337339 "include/opentelemetry/exporters/otlp/protobuf_include_suffix.h" ,
338340 ],
341+ defines = ["ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW" ],
339342 strip_include_prefix = "include" ,
340343 tags = [
341344 "otlp" ,
@@ -360,6 +363,7 @@ cc_library(
360363 hdrs = [
361364 "include/opentelemetry/exporters/otlp/otlp_grpc_push_metric_builder.h" ,
362365 ],
366+ defines = ["ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW" ],
363367 strip_include_prefix = "include" ,
364368 tags = [
365369 "otlp" ,
@@ -602,6 +606,7 @@ cc_library(
602606 hdrs = [
603607 "include/opentelemetry/exporters/otlp/otlp_grpc_log_record_builder.h" ,
604608 ],
609+ defines = ["ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW" ],
605610 strip_include_prefix = "include" ,
606611 tags = [
607612 "otlp" ,
0 commit comments