fix Swift build

pull/20107/head
Muxi Yan 5 years ago
parent 96c11d153f
commit 8a35222164
  1. 9
      src/objective-c/BUILD

@ -101,7 +101,7 @@ grpc_objc_library(
) )
grpc_objc_library( grpc_objc_library(
name = "grpc_objc_client_core", name = "grpc_objc_client",
hdrs = [ hdrs = [
"GRPCClient/GRPCCall+ChannelCredentials.h", "GRPCClient/GRPCCall+ChannelCredentials.h",
"GRPCClient/GRPCCall+Cronet.h", "GRPCClient/GRPCCall+Cronet.h",
@ -128,9 +128,11 @@ grpc_objc_library(
], ],
) )
# TODO (mxyan): Switch "name" and "actual" when import is done
# Some internal Swift projects will need to be updated with the new name
alias( alias(
name = "grpc_objc_client", name = "grpc_objc_client_core",
actual = "grpc_objc_client_core", actual = "grpc_objc_client",
) )
grpc_objc_library( grpc_objc_library(
@ -170,6 +172,7 @@ grpc_objc_library(
], ],
hdrs = [ hdrs = [
"ProtoRPC/ProtoMethod.h", "ProtoRPC/ProtoMethod.h",
"ProtoRPC/ProtoRPC.h",
"ProtoRPC/ProtoRPCLegacy.h", "ProtoRPC/ProtoRPCLegacy.h",
"ProtoRPC/ProtoService.h", "ProtoRPC/ProtoService.h",
], ],

Loading…
Cancel
Save