Skip to content

Commit 4cf7ebc

Browse files
author
Googler
committed
No public description
PiperOrigin-RevId: 781945701
1 parent 60b9c70 commit 4cf7ebc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cpp/monitoring/build_rules.bzl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
Utilities for building grpc and proto libraries from googleapis.
1717
"""
1818

19-
load("@rules_cc//cc:defs.bzl", native_cc_proto_library = "cc_proto_library")
2019
load("@com_github_grpc_grpc//bazel:generate_cc.bzl", "generate_cc")
20+
load("@rules_cc//cc:defs.bzl", native_cc_proto_library = "cc_proto_library")
21+
load("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl", "cc_library")
2122

2223
def _tf_cc_headers(ctx):
2324
if len(ctx.attr.deps) != 1:
@@ -82,7 +83,7 @@ def cc_grpc_library(name, srcs, deps, service_namespace = "grpc", **kwargs):
8283
)
8384

8485
grpc_proto_dep = "@com_github_grpc_grpc//:grpc++_codegen_proto"
85-
native.cc_library(
86+
cc_library(
8687
name = name,
8788
srcs = [":" + codegen_grpc_target],
8889
hdrs = [":" + codegen_grpc_target],

0 commit comments

Comments
 (0)