Add support for java streaming proto
Test: m services with ag/15937571 applied Bug: 199427116 Change-Id: Icf262efa015900f14d9f4cabe3b8af7ec872a668
This commit is contained in:
parent
b4638c1ac3
commit
83fdc94102
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue