Skip to content

Commit 187d72d

Browse files
James DeFelicejieyu
authored andcommitted
lib/go: initial support for protobuf descriptors
1 parent aa80a63 commit 187d72d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/go/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ CSI_GO_TMP := $(CSI_BUILD)/$(CSI_PKG_ROOT)/csi.pb.go
9494
$(CSI_GO_TMP): HERE := $(shell pwd)
9595
$(CSI_GO_TMP): PTYPES_PKG := github.com/golang/protobuf/ptypes
9696
$(CSI_GO_TMP): GO_OUT := plugins=grpc
97+
$(CSI_GO_TMP): GO_OUT := $(GO_OUT),Mgoogle/protobuf/descriptor.proto=github.com/golang/protobuf/protoc-gen-go/descriptor
9798
$(CSI_GO_TMP): GO_OUT := $(GO_OUT),Mgoogle/protobuf/wrappers.proto=$(PTYPES_PKG)/wrappers
9899
$(CSI_GO_TMP): GO_OUT := $(GO_OUT):"$(HERE)/$(CSI_BUILD)"
99100
$(CSI_GO_TMP): INCLUDE := -I$(GOPATH)/src -I$(HERE)/$(PROTOC_TMP_DIR)/include

0 commit comments

Comments
 (0)