aboutsummaryrefslogtreecommitdiffstats
path: root/java/gen.go
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2017-11-18 18:23:14 -0800
committerJoe Onorato <joeo@google.com>2017-12-15 08:40:27 -0800
commit09e94ab074c2584f91b92ec18c2134ca04e72b53 (patch)
treeb6b3d8144206a004619650c4715d9e054c50e994 /java/gen.go
parentbf606c198b83696da1ba4a73f1d2daadaf08e802 (diff)
downloadbuild_soong-09e94ab074c2584f91b92ec18c2134ca04e72b53.tar.gz
build_soong-09e94ab074c2584f91b92ec18c2134ca04e72b53.tar.bz2
build_soong-09e94ab074c2584f91b92ec18c2134ca04e72b53.zip
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/gen.go')
-rw-r--r--java/gen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/gen.go b/java/gen.go
index 7a0dcac5..4893e889 100644
--- a/java/gen.go
+++ b/java/gen.go
@@ -107,7 +107,7 @@ func (j *Module) genSources(ctx android.ModuleContext, srcFiles android.Paths,
if len(protoFiles) > 0 {
protoSrcJar := android.PathForModuleGen(ctx, "proto.srcjar")
genProto(ctx, protoSrcJar, protoFiles,
- flags.protoFlags, flags.protoOutFlag, "")
+ flags.protoFlags, flags.protoOutTypeFlag, flags.protoOutParams)
outSrcFiles = append(outSrcFiles, protoSrcJar)
}