Merge pull request #24872 from thii/add-darwin_arm64-and-darwin_arm64e-config_settings

Add darwin_arm64 and darwin_arm64e to c-ares’ config settings
pull/24962/head
apolcyn 4 years ago committed by GitHub
commit 2e702fc8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      third_party/cares/cares.BUILD

@ -10,6 +10,16 @@ config_setting(
values = {"cpu": "darwin_x86_64"},
)
config_setting(
name = "darwin_arm64",
values = {"cpu": "darwin_arm64"},
)
config_setting(
name = "darwin_arm64e",
values = {"cpu": "darwin_arm64e"},
)
config_setting(
name = "windows",
values = {"cpu": "x64_windows"},
@ -99,6 +109,8 @@ copy_file(
":watchos_arm64_32": "@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",
":darwin_arm64": "@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h",
":darwin_arm64e": "@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