Merge "Add support for java streaming proto" am: 22e973c539
am: a224d53694
am: c1ce0ed41c
am: 6cc658af6b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1874416 Change-Id: I1f26754b6a544975fa53f418c7b96f6ffb0cf408
This commit is contained in:
@@ -102,6 +102,9 @@ func protoFlags(ctx android.ModuleContext, j *CommonProperties, p *android.Proto
|
||||
if String(p.Proto.Plugin) == "" {
|
||||
var typeToPlugin string
|
||||
switch String(p.Proto.Type) {
|
||||
case "stream":
|
||||
flags.proto.OutTypeFlag = "--javastream_out"
|
||||
typeToPlugin = "javastream"
|
||||
case "micro":
|
||||
flags.proto.OutTypeFlag = "--javamicro_out"
|
||||
typeToPlugin = "javamicro"
|
||||
|
Reference in New Issue
Block a user