From 19f7670a5b44148c08145f780243f001d6abc7a1 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Fri, 15 Jan 2021 13:44:53 +0100 Subject: [PATCH] mobile: remove grpc-gateway import Because we compile the REST code from the rest-annotations.yaml and no longer import the annotations in the proto files, we don't need to specify the custom import path anymore. --- mobile/gen_bindings.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/mobile/gen_bindings.sh b/mobile/gen_bindings.sh index c325ff3f..4b1a1637 100755 --- a/mobile/gen_bindings.sh +++ b/mobile/gen_bindings.sh @@ -47,7 +47,6 @@ for file in $PROTOS; do echo "Generating mobile protos from ${file}" protoc -I/usr/local/include -I. \ - -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --plugin=protoc-gen-custom=$falafel\ --custom_out=./build \ --custom_opt="$opts" \ @@ -77,7 +76,6 @@ do echo "Generating mobile protos from ${file}, with build tag ${tag}" protoc -I/usr/local/include -I. \ - -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ -I../lnrpc \ --plugin=protoc-gen-custom=$falafel \ --custom_out=./build \