Skip to content

Commit

Permalink
imagereader proto built separately.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Oct 8, 2024
1 parent d091479 commit 75f41fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
name="config_proto",
srcs=[
"./config.proto",
"./imagereader/imagereader.proto",
"./imagewriter/imagewriter.proto",
],
deps=[
Expand All @@ -44,6 +43,7 @@
"lib/usb+proto",
"lib/encoders+proto",
"lib/decoders+proto",
"lib/imagereader+proto",
],
)

Expand Down
12 changes: 12 additions & 0 deletions lib/imagereader/build.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from build.protobuf import proto, protocc

proto(
name="proto",
srcs=["./imagereader.proto"],
deps=["lib+common_proto"],
)
protocc(
name="proto_lib",
srcs=[".+proto"],
deps=["lib+common_proto_lib"],
)

0 comments on commit 75f41fc

Please sign in to comment.