1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-31 14:35:37 -05:00

added protobuf descriptor into repo

This commit is contained in:
Shelikhoo
2021-06-22 23:05:21 +01:00
parent 3bcee172b0
commit d0521c3861
2 changed files with 885 additions and 1 deletions

View File

@@ -205,7 +205,9 @@ Download it from https://github.com/protocolbuffers/protobuf/releases
dir := filepath.Dir(path)
filename := filepath.Base(path)
if strings.HasSuffix(filename, ".proto") && filename != "typed_message.proto" {
if strings.HasSuffix(filename, ".proto") &&
filename != "typed_message.proto" &&
filename != "descriptor.proto" {
protoFilesMap[dir] = append(protoFilesMap[dir], path)
}