diff --git a/java/proto.go b/java/proto.go index 8731822c3..983a13c72 100644 --- a/java/proto.go +++ b/java/proto.go @@ -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"