File tree 2 files changed +2
-11
lines changed
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,6 @@ config_setting(
58
58
# Which is then used to exclude (through dll_deps([])) the libs already linked in here.
59
59
otel_cc_library (
60
60
name = "otel_sdk_deps" ,
61
- target_compatible_with = select ({
62
- # To compile you need `--//:with_dll=true` on the command line
63
- "with_dll_enabled" : None ,
64
- "//conditions:default" : ["@platforms//:incompatible" ],
65
- }),
66
61
visibility = ["//visibility:private" ],
67
62
deps = [
68
63
"@otel_sdk//exporters/elasticsearch:es_log_record_exporter" ,
@@ -125,11 +120,6 @@ otel_cc_library(
125
120
"all_api_includes.cc" ,
126
121
"all_sdk_includes.cc" ,
127
122
],
128
- target_compatible_with = select ({
129
- # To compile you need `--//:with_dll=true` on the command line
130
- "with_dll_enabled" : None ,
131
- "//conditions:default" : ["@platforms//:incompatible" ],
132
- }),
133
123
# Almost all headers are included here, such that the compiler can notice the __declspec(dllexport) members.
134
124
visibility = ["//visibility:private" ],
135
125
deps = ["otel_sdk_deps" ],
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ REM singleton_test does not work when linked as static under Windows
46
46
goto :eof
47
47
48
48
:minimal
49
- " %__BAZEL__% " run --profile=5.pkgk.tracing.json -k --//:with_dll=true otel_sdk_files
49
+ " %__BAZEL__% " build --profile=min.nodll.tracing.json --//:with_dll=false api_sdk_includes || goto :error
50
+ " %__BAZEL__% " build --profile=min.dll.tracing.json --//:with_dll=true otel_sdk_files || goto :error
50
51
goto :eof
51
52
52
53
:zip
You can’t perform that action at this time.
0 commit comments