summaryrefslogtreecommitdiff
path: root/cc/proto.go
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2018-04-05 17:48:32 -0700
committer Kweku Adams <kwekua@google.com> 2018-04-05 17:48:32 -0700
commitfb5b31ce9675e1acbba2d6eb0c0739195515fb85 (patch)
treebc2ccc3987e17cd51362ecca2b0e1d7f57873e8a /cc/proto.go
parent51ba4a7970c58610ff098c0585b06e27c98a86e6 (diff)
Fixing protoOutParams concatenation.
ParseGeneratorParameter delimits based on commas, not colons: external/protobuf/src/google/protobuf/compiler/code_generator.cc Bug: 72570104 Test: flash device with new build Change-Id: I00042782a718d288ca6b0cb78f856d0fb223a926
Diffstat (limited to 'cc/proto.go')
-rw-r--r--cc/proto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/proto.go b/cc/proto.go
index c53dcf405..42bb53695 100644
--- a/cc/proto.go
+++ b/cc/proto.go
@@ -115,7 +115,7 @@ func protoFlags(ctx ModuleContext, flags Flags, p *android.ProtoProperties) Flag
flags.protoFlags = android.ProtoFlags(ctx, p)
if proptools.String(p.Proto.Type) == "lite" {
- flags.protoOutParams = []string{"lite"}
+ flags.protoOutParams = append(flags.protoOutParams, "lite")
}
return flags