Merge changes from topic "protobuf-3.9.1"

* changes:
  Add suffix and target.vendor.suffix to shared libraries
  Make javanano a plugin
This commit is contained in:
Colin Cross
2019-09-11 18:00:16 +00:00
committed by Gerrit Code Review
3 changed files with 23 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ func protoFlags(ctx android.ModuleContext, j *CompilerProperties, p *android.Pro
typeToPlugin = "javamicro"
case "nano":
flags.proto.OutTypeFlag = "--javanano_out"
typeToPlugin = "javanano"
case "lite":
flags.proto.OutTypeFlag = "--java_out"
flags.proto.OutParams = append(flags.proto.OutParams, "lite")