Procházet zdrojové kódy

Fix libtool warning when compiling with bazel (#447)

If you build CgRPC with bazel, as done here,
https://github.com/bazelbuild/rules_swift/blob/master/third_party/com_github_grpc_grpc_swift/BUILD.overlay,
and you end up creating a library with libtool that contains it, you get
this warning for multiple files:

```
libtool: warning same member name (byte_buffer.o) in output file used for input files: .../libCgRPC.a(byte_buffer.o) and: .../libCgRPC.a(byte_buffer.o) due to use of basename, truncation and blank padding
```

This is because bazel translates both `server.c` and `server.cc` to
`server.o`. This fixes these warnings by appending `_shim` to the shim
files.
Keith Smiley před 6 roky
rodič
revize
99bf33aa93

+ 0 - 0
Sources/CgRPC/shim/byte_buffer.c → Sources/CgRPC/shim/byte_buffer_shim.c


+ 0 - 0
Sources/CgRPC/shim/call.c → Sources/CgRPC/shim/call_shim.c


+ 0 - 0
Sources/CgRPC/shim/channel.c → Sources/CgRPC/shim/channel_shim.c


+ 0 - 0
Sources/CgRPC/shim/completion_queue.c → Sources/CgRPC/shim/completion_queue_shim.c


+ 0 - 0
Sources/CgRPC/shim/event.c → Sources/CgRPC/shim/event_shim.c


+ 0 - 0
Sources/CgRPC/shim/handler.c → Sources/CgRPC/shim/handler_shim.c


+ 0 - 0
Sources/CgRPC/shim/internal.c → Sources/CgRPC/shim/internal_shim.c


+ 0 - 0
Sources/CgRPC/shim/metadata.c → Sources/CgRPC/shim/metadata_shim.c


+ 0 - 0
Sources/CgRPC/shim/mutex.c → Sources/CgRPC/shim/mutex_shim.c


+ 0 - 0
Sources/CgRPC/shim/observers.c → Sources/CgRPC/shim/observers_shim.c


+ 0 - 0
Sources/CgRPC/shim/operations.c → Sources/CgRPC/shim/operations_shim.c


+ 0 - 0
Sources/CgRPC/shim/server.c → Sources/CgRPC/shim/server_shim.c