summaryrefslogtreecommitdiff
path: root/cc/proto.go
diff options
context:
space:
mode:
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 3cf1453c8..8e6d5ed5f 100644
--- a/cc/proto.go
+++ b/cc/proto.go
@@ -177,7 +177,7 @@ type bp2buildProtoDeps struct {
func bp2buildProto(ctx android.Bp2buildMutatorContext, m *Module, protoSrcs bazel.LabelListAttribute) bp2buildProtoDeps {
var ret bp2buildProtoDeps
- protoInfo, ok := android.Bp2buildProtoProperties(ctx, m, protoSrcs)
+ protoInfo, ok := android.Bp2buildProtoProperties(ctx, &m.ModuleBase, protoSrcs)
if !ok {
return ret
}