Skip to content

Commit d103cdc

Browse files
committed
cleanup
1 parent f5bd5c9 commit d103cdc

File tree

4 files changed

+5
-185
lines changed

4 files changed

+5
-185
lines changed

x/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import %workspace%/../.bazelrc
22
build --@otel_sdk//:with_dll=true
33
try-import %workspace%/../../top.bazelrc
4-
test --test_output=streamed
4+
test --test_output=streamed --test_timeout=36000,36000,36000,36000
55

66
common:devenv --run_under='"c:/windows/system32/cmd.exe" /c start /wait devenv /debugexe '
77
test:devenv --run_under='"c:/windows/system32/cmd.exe" /c start /wait devenv /debugexe '

x/BUILD.bazel

Lines changed: 4 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -11,52 +11,13 @@ cc_test(
1111
local = True,
1212
tags = ["manual", "external"],
1313

14-
env_inherit =
15-
[
16-
"ALLUSERSPROFILE",
17-
"APPDATA",
18-
"CommonProgramFiles",
19-
"CommonProgramFiles(x86)",
20-
"CommonProgramW6432",
21-
"COMPUTERNAME",
22-
"ComSpec",
23-
"LOCALAPPDATA",
24-
"NUMBER_OF_PROCESSORS",
25-
"OS",
26-
"Path",
27-
"PATHEXT",
28-
"PROCESSOR_ARCHITECTURE",
29-
"PROCESSOR_IDENTIFIER",
30-
"PROCESSOR_LEVEL",
31-
"PROCESSOR_REVISION",
32-
"ProgramData",
33-
"ProgramFiles",
34-
"ProgramFiles(x86)",
35-
"ProgramW6432",
36-
"SystemDrive",
37-
"SystemRoot",
38-
"TEMP",
39-
"TMP",
40-
"USERNAME",
41-
"USERPROFILE",
42-
"VS140COMNTOOLS",
43-
"windir",
44-
"_NT_SYMBOL_PATH",
14+
# Minimal set of env vars for Visual Studio
15+
env_inherit = [
16+
"windir", # Mandatory
17+
#"USERPROFILE", # In order to avoid creating %USERPROFILE%
4518
],
4619
)
4720

48-
cc_binary(
49-
name = "xx",
50-
srcs = ["x.cpp"],
51-
deps = ["@otel_sdk//:dll"],
52-
)
53-
54-
# cc_binary(
55-
# name = "p",
56-
# srcs = ["p.cpp"],
57-
# deps = ["@otel_sdk//:dll"]
58-
# )
59-
#
6021
# copy_directory(
6122
# name = "dashboards_dir",
6223
# src = "dashboards",
@@ -92,19 +53,6 @@ cc_binary(
9253
# tool = "@otel_sdk//:percli",
9354
# )
9455

95-
# cc_binary(
96-
# name = "proxy",
97-
# srcs = ["proxy.cpp"],
98-
# deps = [
99-
# "@otel_sdk//:dll",
100-
# "@grpc//:grpc++",
101-
# "@grpc//:grpc++_reflection",
102-
# "@opentelemetry-proto//:logs_service_grpc_cc",
103-
# "@opentelemetry-proto//:metrics_service_grpc_cc",
104-
# "@opentelemetry-proto//:trace_service_grpc_cc",
105-
# ],
106-
# )
107-
#
10856
# cc_binary(
10957
# name = "z",
11058
# srcs = ["z.cpp"],

x/proxy.cpp

Lines changed: 0 additions & 120 deletions
This file was deleted.

x/proxy.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)