summaryrefslogtreecommitdiff
path: root/java/builder.go
diff options
context:
space:
mode:
author Joe Onorato <joeo@google.com> 2017-12-15 19:39:46 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-12-15 19:39:46 +0000
commit2c95b3f124a9342bfae16f27c6726e5f74c943f7 (patch)
treea3aca8b4dca603c2d3908df5b552968428a4008c /java/builder.go
parent4c016b996e2d8037c7a143ec7323077f5956fb17 (diff)
parent09e94ab074c2584f91b92ec18c2134ca04e72b53 (diff)
Merge "When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime."
Diffstat (limited to 'java/builder.go')
-rw-r--r--java/builder.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/builder.go b/java/builder.go
index 10dfe06cf..48fba2303 100644
--- a/java/builder.go
+++ b/java/builder.go
@@ -200,8 +200,9 @@ type javaBuilderFlags struct {
kotlincFlags string
kotlincClasspath classpath
- protoFlags []string
- protoOutFlag string
+ protoFlags []string
+ protoOutTypeFlag string // The flag itself: --java_out
+ protoOutParams string // Parameters to that flag: --java_out=$protoOutParams:$outDir
}
func TransformKotlinToClasses(ctx android.ModuleContext, outputFile android.WritablePath,