Skip to content

Commit

Permalink
imagewriter protos built separately.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Oct 8, 2024
1 parent 75f41fc commit 28444b7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@

proto(
name="config_proto",
srcs=[
"./config.proto",
"./imagewriter/imagewriter.proto",
],
srcs=["./config.proto"],
deps=[
".+common_proto",
".+layout_proto",
Expand All @@ -44,6 +41,7 @@
"lib/encoders+proto",
"lib/decoders+proto",
"lib/imagereader+proto",
"lib/imagewriter+proto",
],
)

Expand Down
12 changes: 12 additions & 0 deletions lib/imagewriter/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=["./imagewriter.proto"],
deps=["lib+common_proto", "lib/imagereader+proto"],
)
protocc(
name="proto_lib",
srcs=[".+proto"],
deps=["lib+common_proto_lib", "lib/imagereader+proto_lib"],
)

0 comments on commit 28444b7

Please sign in to comment.