Merge "Soong: add -T to nanopb call to suppress timestamp" am: aa8ac24222 am: 1434382a5d am: 0b8f050dd7

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1511276

Change-Id: I78884c341abc59f1bd70b0310204afd8a068ac22
This commit is contained in:
Treehugger Robot
2020-11-26 01:54:37 +00:00
committed by Automerger Merge Worker

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"