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