pw_thread: Add a py_proto_library target
Bug: 245999272
Change-Id: I20b8616c0db98f04c43dac1c3bd699ac056515d4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/110113
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
Reviewed-by: Chris Kenyon <chriskenyon@google.com>
diff --git a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
index 66ca5ce..78b5b9c 100755
--- a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
+++ b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
@@ -431,6 +431,8 @@
'-//pw_thread/py/...:all',
'-//pw_thread:thread_proto_py_pb2',
'-//pw_thread:thread_proto_py_pb2_genproto',
+ '-//pw_thread:thread_snapshot_service_py_pb2',
+ '-//pw_thread:thread_snapshot_service_py_pb2_genproto',
'-//pw_thread_embos/...:all',
'-//pw_thread_freertos/...:all',
'-//pw_thread_threadx/...:all',
diff --git a/pw_thread/BUILD.bazel b/pw_thread/BUILD.bazel
index 5ab9664..fe7c013 100644
--- a/pw_thread/BUILD.bazel
+++ b/pw_thread/BUILD.bazel
@@ -372,6 +372,12 @@
deps = [":thread_snapshot_service_proto"],
)
+# TODO(b/241456982): Not expected to build yet.
+py_proto_library(
+ name = "thread_snapshot_service_py_pb2",
+ deps = [":thread_snapshot_service_proto"],
+)
+
pw_proto_library(
name = "thread_cc",
deps = [":thread_proto"],