Skip to content

Commit

Permalink
fix(rust_common): remove references to PROTO_COMPILE_DEPS (#4992)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalandro committed Jul 21, 2021
1 parent f55e659 commit efa7141
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
14 changes: 7 additions & 7 deletions kythe/rust/extractor/BUILD
@@ -1,6 +1,5 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_clippy", "rust_library")
load("@rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS")
load(":extractor_test.bzl", "rust_extractor_test")

package(default_visibility = ["//visibility:public"])
Expand All @@ -20,16 +19,17 @@ rust_binary(
edition = "2018",
deps = [
":kythe_rust_extractor",
"//third_party/bazel:extra_actions_base_rust_proto",
"//kythe/proto:analysis_rust_proto",
"//kythe/rust/cargo:zip",
"//kythe/rust/cargo:rls_data",
"//kythe/rust/cargo:clap",
"//kythe/rust/cargo:anyhow",
"//kythe/rust/cargo:tempdir",
"//kythe/rust/cargo:clap",
"//kythe/rust/cargo:hex",
"//kythe/rust/cargo:rls_data",
"//kythe/rust/cargo:sha2",
] + PROTO_COMPILE_DEPS,
"//kythe/rust/cargo:tempdir",
"//kythe/rust/cargo:zip",
"//third_party/bazel:extra_actions_base_rust_proto",
"@rules_rust//proto/raze:protobuf",
],
)

rust_clippy(
Expand Down
13 changes: 7 additions & 6 deletions kythe/rust/indexer/BUILD
@@ -1,5 +1,4 @@
load("@rules_rust//rust:rust.bzl", "rust_binary", "rust_clippy", "rust_library", "rust_test")
load("@rules_rust//proto:toolchain.bzl", "PROTO_COMPILE_DEPS")
load("//tools/build_rules/verifier_test:rust_indexer_test.bzl", "rust_indexer_test")

package(default_visibility = ["//visibility:public"])
Expand All @@ -14,13 +13,14 @@ rust_library(
deps = [
"//kythe/proto:analysis_rust_proto",
"//kythe/proto:storage_rust_proto",
"//kythe/rust/cargo:hex",
"//kythe/rust/cargo:quick_error",
"//kythe/rust/cargo:zip",
"//kythe/rust/cargo:rls_analysis",
"//kythe/rust/cargo:rls_data",
"//kythe/rust/cargo:serde_json",
"//kythe/rust/cargo:hex",
] + PROTO_COMPILE_DEPS,
"//kythe/rust/cargo:zip",
"@rules_rust//proto/raze:protobuf",
],
)

rust_binary(
Expand Down Expand Up @@ -72,12 +72,13 @@ rust_test(
"tests/testkzip.kzip",
],
deps = [
":kythe_rust_indexer",
":inline_tests",
":kythe_rust_indexer",
"//kythe/proto:analysis_rust_proto",
"//kythe/proto:storage_rust_proto",
"@rules_rust//proto/raze:protobuf",
"@rules_rust//tools/runfiles",
] + PROTO_COMPILE_DEPS,
],
)

rust_clippy(
Expand Down

0 comments on commit efa7141

Please sign in to comment.