Skip to content

Commit

Permalink
Use envoy_cc_library in sd extension (envoyproxy#2722)
Browse files Browse the repository at this point in the history
* use envoy_cc_library in sd extension

* fix
  • Loading branch information
bianpengyuan authored Feb 27, 2020
1 parent c2c64d4 commit e586f25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion extensions/stackdriver/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ load(
"envoy_cc_library",
)

cc_library(
envoy_cc_library(
name = "constants",
hdrs = [
"constants.h",
],
repository = "@envoy",
visibility = [
"//extensions/stackdriver:__pkg__",
"//extensions/stackdriver/edges:__pkg__",
Expand Down
4 changes: 3 additions & 1 deletion extensions/stackdriver/metric/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ licenses(["notice"])

load(
"@envoy//bazel:envoy_build_system.bzl",
"envoy_cc_library",
"envoy_cc_test",
)

cc_library(
envoy_cc_library(
name = "metric",
srcs = [
"record.cc",
Expand All @@ -32,6 +33,7 @@ cc_library(
"record.h",
"registry.h",
],
repository = "@envoy",
visibility = [
"//extensions/stackdriver:__pkg__",
],
Expand Down

0 comments on commit e586f25

Please sign in to comment.