Skip to content

Commit 4f17dc3

Browse files
committed
reformat and lint
1 parent ca401a8 commit 4f17dc3

File tree

44 files changed

+63
-40
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+63
-40
lines changed

.bazelignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ WORKSPACE
1414
otel_sdk_build.cmd
1515
.git
1616
x
17+
sdk/src/configuration
18+
sdk/test/configuration

api/test/singleton/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
load("//:dll_deps.bzl", "dll_deps")
5-
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_library", "otel_cc_shared_library", "otel_cc_test")
5+
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_library", "otel_cc_test")
66

77
DEFAULT_WIN_COPTS = [
88
]

bazel/otel_cc.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4+
load("@rules_cc//cc:cc_shared_library.bzl", "cc_shared_library")
45
load(
56
"@rules_cc//cc:defs.bzl",
67
rules_cc_binary = "cc_binary",
@@ -40,4 +41,4 @@ def otel_cc_import(**kwargs):
4041

4142
def otel_cc_shared_library(**kwargs):
4243
kwargs["deps"] = kwargs.get("deps", []) + if_asanwin(["@llvm_windows_install//:asan"])
43-
native.cc_shared_library(**kwargs)
44+
cc_shared_library(**kwargs)

dll_deps.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
load("@otel_sdk//:dll_deps_generated_non_windows.bzl", dll_deps_non_windows = "DLL_DEPS")
21
load("@otel_sdk//:dll_deps_generated_windows.bzl", dll_deps_windows = "DLL_DEPS")
32

43
# Filter libs that were compiled into the the otel_sdk.dll already

examples/batch/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
load("//:dll_deps.bzl", "dll_deps")
5-
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_import", "otel_cc_library", "otel_cc_shared_library", "otel_cc_test")
5+
load("//bazel:otel_cc.bzl", "otel_cc_binary")
66

77
otel_cc_binary(
88
name = "example_simple",

examples/common/foo_library/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
load("//:dll_deps.bzl", "dll_deps")
5-
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_import", "otel_cc_library", "otel_cc_shared_library", "otel_cc_test")
5+
load("//bazel:otel_cc.bzl", "otel_cc_library")
66

77
package(default_visibility = ["//visibility:public"])
88

examples/common/logs_foo_library/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
load("//:dll_deps.bzl", "dll_deps")
5-
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_import", "otel_cc_library", "otel_cc_shared_library", "otel_cc_test")
5+
load("//bazel:otel_cc.bzl", "otel_cc_library")
66

77
package(default_visibility = ["//visibility:public"])
88

examples/common/metrics_foo_library/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
load("//:dll_deps.bzl", "dll_deps")
5-
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_import", "otel_cc_library", "otel_cc_shared_library", "otel_cc_test")
5+
load("//bazel:otel_cc.bzl", "otel_cc_library")
66

77
package(default_visibility = ["//visibility:public"])
88

examples/etw_threads/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
load("//:dll_deps.bzl", "dll_deps")
5-
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_import", "otel_cc_library", "otel_cc_shared_library", "otel_cc_test")
5+
load("//bazel:otel_cc.bzl", "otel_cc_binary")
66

77
otel_cc_binary(
88
name = "etw_threadpool",

examples/grpc/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
load("@grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
5+
load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
56
load("@rules_proto//proto:defs.bzl", "proto_library")
67
load("//:dll_deps.bzl", "dll_deps")
78
load("//bazel:otel_cc.bzl", "otel_cc_binary", "otel_cc_library")

0 commit comments

Comments
 (0)