Skip to content

Commit 24cc08c

Browse files
author
WangYi
committed
Support generate javalite.
1 parent 09e2fe2 commit 24cc08c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

all/entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ GEN_RBI=false
4444
GEN_TYPESCRIPT=false
4545
LINT=false
4646
LINT_CHECKS=""
47-
SUPPORTED_LANGUAGES=("go" "ruby" "csharp" "java" "python" "objc" "gogo" "php" "node" "web" "cpp" "descriptor_set" "scala")
47+
SUPPORTED_LANGUAGES=("go" "ruby" "csharp" "java" "python" "objc" "gogo" "php" "node" "web" "cpp" "descriptor_set" "scala" "javalite")
4848
EXTRA_INCLUDES=""
4949
OUT_DIR=""
5050
GO_SOURCE_RELATIVE=""
@@ -285,6 +285,8 @@ Mgoogle/protobuf/field_mask.proto=github.com/gogo/protobuf/types,\
285285
${GO_PACKAGE_MAP}\
286286
plugins=grpc+embedded\
287287
:$OUT_DIR"
288+
"javalite")
289+
GEN_STRING="--grpc_out=lite:$OUT_DIR --java_out=lite:$OUT_DIR --plugin=protoc-gen-grpc=`which protoc-gen-grpc-java`"
288290
;;
289291
"java")
290292
GEN_STRING="--grpc_out=$OUT_DIR --${GEN_LANG}_out=$OUT_DIR --plugin=protoc-gen-grpc=`which protoc-gen-grpc-java`"

0 commit comments

Comments
 (0)