Allow full protos in host modules
Test: m -j checkbuild Change-Id: I9dd076fea3e0544b8bdeeac9b040a8ee9d818715
This commit is contained in:
@@ -88,7 +88,7 @@ func protoFlags(ctx android.ModuleContext, p *android.ProtoProperties, flags jav
|
|||||||
flags.protoOutFlag = "--javanano_out"
|
flags.protoOutFlag = "--javanano_out"
|
||||||
case "stream":
|
case "stream":
|
||||||
flags.protoOutFlag = "--javastream_out"
|
flags.protoOutFlag = "--javastream_out"
|
||||||
case "lite", "":
|
case "lite", "full", "":
|
||||||
flags.protoOutFlag = "--java_out"
|
flags.protoOutFlag = "--java_out"
|
||||||
default:
|
default:
|
||||||
ctx.PropertyErrorf("proto.type", "unknown proto type %q",
|
ctx.PropertyErrorf("proto.type", "unknown proto type %q",
|
||||||
|
Reference in New Issue
Block a user