Skip to content

Commit

Permalink
Replace the deprecated proto_source_root attribute. (#241)
Browse files Browse the repository at this point in the history
With strip_proto_prefix .
  • Loading branch information
lberki authored and damienmg committed Jul 19, 2019
1 parent d951d12 commit c06ab74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/proto/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ load("@io_bazel_rules_rust//proto:proto.bzl", "rust_proto_library")
proto_library(
name = "a_proto",
srcs = ["a.proto"],
proto_source_root = "test/proto",
strip_import_prefix = "",
)

proto_library(
name = "b_proto",
srcs = ["b.proto"],
strip_import_prefix = "",
deps = [":a_proto"],
proto_source_root = "test/proto",
)

rust_proto_library(
Expand Down

0 comments on commit c06ab74

Please sign in to comment.