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:
Treehugger Robot 2020-11-26 00:19:26 +00:00 committed by Automerger Merge Worker
commit 1434382a5d

View file

@ -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"