Skip to content

Commit

Permalink
pw_file: Added build dependency
Browse files Browse the repository at this point in the history
Added "common_proto" dependency, and changed name
from proto to file_proto on bazel build to match
the syntax seen in other bazel builds.

Change-Id: I87189b925a06116e89a4d9ec45240aa0ede597e1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/97371
Reviewed-by: Armando Montanez <[email protected]>
Commit-Queue: Leo Arvan <[email protected]>
  • Loading branch information
Leo Arvan authored and CQ Bot Account committed Jun 8, 2022
1 parent c357180 commit f02416e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pw_file/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"])

proto_library(
name = "proto",
name = "file_proto",
srcs = ["file.proto"],
deps = [
"//pw_protobuf:common_proto",
],
)

pw_cc_library(
Expand All @@ -36,7 +39,7 @@ pw_cc_library(
"public/pw_file/flat_file_system.h",
],
deps = [
":proto",
":file_proto",
"//pw_bytes",
"//pw_result",
"//pw_rpc/raw:method",
Expand All @@ -50,8 +53,8 @@ pw_cc_test(
"flat_file_system_test.cc",
],
deps = [
":file_proto",
":flat_file_system",
":proto",
"//pw_bytes",
"//pw_protobuf",
"//pw_rpc/raw:test_method_context",
Expand Down

0 comments on commit f02416e

Please sign in to comment.