-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_rpc: Build proto path arg list for Soong
For every .proto file in the Soong genrule to build a nanopb proto, add its parent's parent's directory as a --proto-path argument to the protobuf compiler. This allows genrules to have protos from different sources. The requirement is that all sources to the same genrule are prefixed once. Test: Compiled prefixed proto with prefixed dependencies. Passes presubmits in Android main. Change-Id: Iaaac640c336340d9f698827f6f26085978ebc59c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/225031 Commit-Queue: Carlos Chinchilla <[email protected]> Lint: Lint 🤖 <[email protected]> Reviewed-by: Matt Stokes <[email protected]>
- Loading branch information
1 parent
dd2720f
commit 74bc3ca
Showing
1 changed file
with
45 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters