Use arm64 instead of aarch64
This commit is contained in:
parent
a0aff8f7bf
commit
af22e76a8b
|
@ -62,7 +62,7 @@ proto_plugin(
|
|||
"{protopath}_grpc_web_pb.d.ts",
|
||||
],
|
||||
tool = select({
|
||||
"@bazel_tools//src/conditions:darwin_aarch64": "@grpc_web_plugin_darwin_aarch64//file",
|
||||
"@bazel_tools//src/conditions:darwin_arm64": "@grpc_web_plugin_darwin_arm64//file",
|
||||
"@bazel_tools//src/conditions:darwin_x86_64": "@grpc_web_plugin_darwin_x86_64//file",
|
||||
"@bazel_tools//src/conditions:linux_x86_64": "@grpc_web_plugin_linux//file",
|
||||
"@bazel_tools//src/conditions:windows": "@grpc_web_plugin_windows//file",
|
||||
|
|
|
@ -4,7 +4,7 @@ load(
|
|||
"//:repositories.bzl",
|
||||
"build_bazel_rules_nodejs",
|
||||
"com_google_protobuf_javascript",
|
||||
"grpc_web_plugin_darwin_aarch64",
|
||||
"grpc_web_plugin_darwin_arm64",
|
||||
"grpc_web_plugin_darwin_x86_64",
|
||||
"grpc_web_plugin_linux",
|
||||
"grpc_web_plugin_windows",
|
||||
|
@ -15,7 +15,7 @@ def js_repos(**kwargs): # buildifier: disable=function-docstring
|
|||
rules_proto_grpc_repos(**kwargs)
|
||||
build_bazel_rules_nodejs(**kwargs)
|
||||
com_google_protobuf_javascript(**kwargs)
|
||||
grpc_web_plugin_darwin_aarch64(**kwargs)
|
||||
grpc_web_plugin_darwin_arm64(**kwargs)
|
||||
grpc_web_plugin_darwin_x86_64(**kwargs)
|
||||
grpc_web_plugin_linux(**kwargs)
|
||||
grpc_web_plugin_windows(**kwargs)
|
||||
|
|
|
@ -227,7 +227,7 @@ VERSIONS = {
|
|||
"ref": "a428c58273abad07c66071d9753bc4d1289de426", # TODO: 3.21.0 broken
|
||||
"sha256": "08e8aa6b4f434a5364bdef69cd129792677f8b241cdebfa7c10bb43d618e0e05",
|
||||
},
|
||||
"grpc_web_plugin_darwin_aarch64": {
|
||||
"grpc_web_plugin_darwin_arm64": {
|
||||
"type": "http_file", # When updating, also update in package.json and vice-versa
|
||||
"urls": ["https://github.com/grpc/grpc-web/releases/download/1.4.1/protoc-gen-grpc-web-1.4.1-darwin-aarch64"],
|
||||
"sha256": "b086938a7f1851df924d254c0c820c795ae084ed8fc98af4a17d0e10eec0ce59",
|
||||
|
@ -618,8 +618,8 @@ def build_bazel_rules_nodejs(**kwargs):
|
|||
def com_google_protobuf_javascript(**kwargs):
|
||||
_generic_dependency("com_google_protobuf_javascript", **kwargs)
|
||||
|
||||
def grpc_web_plugin_darwin_aarch64(**kwargs):
|
||||
_generic_dependency("grpc_web_plugin_darwin_aarch64", **kwargs)
|
||||
def grpc_web_plugin_darwin_arm64(**kwargs):
|
||||
_generic_dependency("grpc_web_plugin_darwin_arm64", **kwargs)
|
||||
|
||||
def grpc_web_plugin_darwin_x86_64(**kwargs):
|
||||
_generic_dependency("grpc_web_plugin_darwin_x86_64", **kwargs)
|
||||
|
|
Loading…
Reference in New Issue