|  | 
|  | 1 | +# Copyright 2024 The TensorStore Authors | 
|  | 2 | +# | 
|  | 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | 4 | +# you may not use this file except in compliance with the License. | 
|  | 5 | +# You may obtain a copy of the License at | 
|  | 6 | +# | 
|  | 7 | +#      http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 8 | +# | 
|  | 9 | +# Unless required by applicable law or agreed to in writing, software | 
|  | 10 | +# distributed under the License is distributed on an "AS IS" BASIS, | 
|  | 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 12 | +# See the License for the specific language governing permissions and | 
|  | 13 | +# limitations under the License. | 
|  | 14 | + | 
|  | 15 | +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") | 
|  | 16 | +load("//third_party:repo.bzl", "third_party_http_archive") | 
|  | 17 | + | 
|  | 18 | +def repo(): | 
|  | 19 | +    maybe( | 
|  | 20 | +        third_party_http_archive, | 
|  | 21 | +        name = "aws_c_auth", | 
|  | 22 | +        sha256 = "f249a12a6ac319e929c005fb7efd5534c83d3af3a3a53722626ff60a494054bb", | 
|  | 23 | +        strip_prefix = "aws-c-auth-0.7.22", | 
|  | 24 | +        urls = [ | 
|  | 25 | +            "https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-auth/archive/refs/tags/v0.7.22.tar.gz", | 
|  | 26 | +        ], | 
|  | 27 | +        build_file = Label("//third_party:aws_c_auth/aws_c_auth.BUILD.bazel"), | 
|  | 28 | +        cmake_name = "aws_c_auth", | 
|  | 29 | +        cmake_target_mapping = { | 
|  | 30 | +            "@aws_c_auth//:aws_c_auth": "aws_c_auth::aws_c_auth", | 
|  | 31 | +        }, | 
|  | 32 | +        bazel_to_cmake = {}, | 
|  | 33 | +    ) | 
0 commit comments