Merge "Soong: add -T to nanopb call to suppress timestamp" am: aa8ac24222
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1511276 Change-Id: I0b0c3986b738a5a9c27097ca794f6b6e8246ed1f
This commit is contained in:
commit
1434382a5d
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ func protoFlags(ctx ModuleContext, flags Flags, p *android.ProtoProperties) Flag
|
|||
flags.protoC = true
|
||||
flags.protoOptionsFile = true
|
||||
flags.proto.OutTypeFlag = "--nanopb_out"
|
||||
// Disable nanopb timestamps to support remote caching.
|
||||
flags.proto.OutParams = append(flags.proto.OutParams, "-T")
|
||||
plugin = "protoc-gen-nanopb"
|
||||
case "full":
|
||||
flags.proto.OutTypeFlag = "--cpp_out"
|
||||
|
|
Loading…
Reference in a new issue