Merge pull request #18125 from allevato/fix-cares-config

Support "darwin_x86_64" CPU in cares.BUILD.
pull/18133/head
Nicolas Noble 6 years ago committed by GitHub
commit 8fd43c2e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      third_party/cares/cares.BUILD

@ -3,6 +3,11 @@ config_setting(
values = {"cpu": "darwin"},
)
config_setting(
name = "darwin_x86_64",
values = {"cpu": "darwin_x86_64"},
)
config_setting(
name = "windows",
values = {"cpu": "x64_windows"},
@ -54,6 +59,7 @@ genrule(
":ios_armv7s": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
":ios_arm64": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
":darwin": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
":darwin_x86_64": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
":windows": ["@com_github_grpc_grpc//third_party/cares:config_windows/ares_config.h"],
":android": ["@com_github_grpc_grpc//third_party/cares:config_android/ares_config.h"],
"//conditions:default": ["@com_github_grpc_grpc//third_party/cares:config_linux/ares_config.h"],

Loading…
Cancel
Save