commit | a3ca62aeea7d27a117b4bbf91bf8e41611f7a62c | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue May 04 16:21:43 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 05 18:01:48 2021 +0000 |
tree | a15a414101f34f6c7481b511098feac4176a2e28 | |
parent | 0aa8d9691466f3ad88282b460a4fe28a6d88c1e6 [diff] [blame] |
pw_protobuf_compiler: Ensure nanopb_pb2.py is generated Import the Nanopb Python package to ensure that nanopb_pb2.py is generated prior generating any Nanopb protos. This prevents race conditions in clean builds. Change-Id: I4b07ceb5665c49d0bd73a35759af18ec275094ed Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/43741 Commit-Queue: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@google.com>
diff --git a/pw_build/python.gni b/pw_build/python.gni index 50d247f..a68da03 100644 --- a/pw_build/python.gni +++ b/pw_build/python.gni
@@ -655,6 +655,7 @@ _python_deps = invoker.python_deps } else { _python_deps = [] + not_needed([ "invoker" ]) # Allow empty groups. } group(target_name) {