summaryrefslogtreecommitdiff
path: root/java/builder.go
diff options
context:
space:
mode:
author Joe Onorato <joeo@google.com> 2017-11-18 18:23:14 -0800
committer Joe Onorato <joeo@google.com> 2017-12-15 08:40:27 -0800
commit09e94ab074c2584f91b92ec18c2134ca04e72b53 (patch)
treeb6b3d8144206a004619650c4715d9e054c50e994 /java/builder.go
parentbf606c198b83696da1ba4a73f1d2daadaf08e802 (diff)
When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime.
Test: make Merged-In: I450f89d144d496a6ddfccc6a6a5a679a05809595 Change-Id: I450f89d144d496a6ddfccc6a6a5a679a05809595
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,