Skip to content

Commit b5e6de5

Browse files
Ben Carrfacebook-github-bot
authored andcommitted
Auto-include tonic dep on protobuf build rules
Reviewed By: JakobDegen Differential Revision: D75253859 fbshipit-source-id: 103a0dcef926f834c046fe34525cfa3ff52f3a43
1 parent de969c5 commit b5e6de5

File tree

14 files changed

+2
-18
lines changed

14 files changed

+2
-18
lines changed

app/buck2_action_metadata_proto/BUCK

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ rust_protobuf_library(
77
srcs = glob(["src/**/*.rs"]),
88
build_script = "build.rs",
99
proto_srcs = ":buck2_action_metadata_proto.proto",
10-
deps = [
11-
"fbsource//third-party/rust:tonic",
12-
],
1310
)
1411

1512
proto_srcs(

app/buck2_cli_proto/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ rust_protobuf_library(
1818
"fbsource//third-party/rust:prost-types",
1919
"fbsource//third-party/rust:serde",
2020
"fbsource//third-party/rust:tokio-util",
21-
"fbsource//third-party/rust:tonic",
2221
"//buck2/allocative/allocative:allocative",
2322
"//buck2/app/buck2_core:buck2_core",
2423
"//buck2/app/buck2_data:buck2_data",

app/buck2_data/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ rust_protobuf_library(
1414
"fbsource//third-party/rust:hex",
1515
"fbsource//third-party/rust:prost-types",
1616
"fbsource//third-party/rust:serde",
17-
"fbsource//third-party/rust:tonic",
1817
"//buck2/allocative/allocative:allocative",
1918
"//buck2/app/buck2_host_sharing_proto:buck2_host_sharing_proto",
2019
"//buck2/gazebo/dupe:dupe",

app/buck2_downward_api_proto/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ rust_protobuf_library(
88
build_script = "build.rs",
99
proto_srcs = ":buck2_downward_api_proto.proto",
1010
deps = [
11-
"fbsource//third-party/rust:tonic",
1211
"fbsource//third-party/rust:tracing",
1312
"//buck2/app/buck2_error:buck2_error",
1413
],

app/buck2_forkserver_proto/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ rust_protobuf_library(
1111
deps = [
1212
"fbsource//third-party/rust:derive_more",
1313
"fbsource//third-party/rust:prost-types",
14-
"fbsource//third-party/rust:tonic",
1514
"//buck2/app/buck2_data:buck2_data",
1615
"//buck2/gazebo/gazebo:gazebo",
1716
],

app/buck2_health_check_proto/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ rust_protobuf_library(
1010
build_script = "build.rs",
1111
proto_srcs = ":buck2_health_check_proto.proto",
1212
deps = [
13-
"fbsource//third-party/rust:tonic",
1413
"//buck2/app/buck2_data:buck2_data",
1514
],
1615
)

app/buck2_host_sharing_proto/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ rust_protobuf_library(
1010
proto_srcs = ":host_sharing.proto",
1111
deps = [
1212
"fbsource//third-party/rust:serde",
13-
"fbsource//third-party/rust:tonic",
1413
"//buck2/allocative/allocative:allocative",
1514
],
1615
)

app/buck2_install_proto/BUCK

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ rust_protobuf_library(
88
srcs = glob(["src/**/*.rs"]),
99
build_script = "build.rs",
1010
proto_srcs = ":buck2_install_proto.proto",
11-
deps = [
12-
"fbsource//third-party/rust:tonic",
13-
],
1411
)
1512

1613
proto_srcs(

app/buck2_subscription_proto/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ rust_protobuf_library(
1212
deps = [
1313
"fbsource//third-party/rust:derive_more",
1414
"fbsource//third-party/rust:serde",
15-
"fbsource//third-party/rust:tonic",
1615
"//buck2/allocative/allocative:allocative",
1716
],
1817
)

app/buck2_test_proto/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ rust_protobuf_library(
1010
proto_srcs = ":buck2_test_proto.proto",
1111
deps = [
1212
"fbsource//third-party/rust:prost-types",
13-
"fbsource//third-party/rust:tonic",
1413
"//buck2/app/buck2_data:buck2_data",
1514
"//buck2/app/buck2_host_sharing_proto:buck2_host_sharing_proto",
1615
],

0 commit comments

Comments
 (0)