xref: /aosp_15_r20/external/bazelbuild-rules_go/go/deps.bzl (revision 9bb1b549b6a84214c53be0924760be030e66b93a)
1# Copyright 2019 The Bazel Authors. All rights reserved.
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# deps.bzl loads definitions for use in WORKSPACE files. It's important
16# to keep this file and the .bzl files it loads separate from the files
17# loaded by def.bzl. def.bzl and its dependencies may depend on repositories
18# declared here, but at the time this file is loaded, we can't assume
19# anything has been declared.
20
21load(
22    "//go/private:repositories.bzl",
23    _go_rules_dependencies = "go_rules_dependencies",
24)
25load(
26    "//go/private:sdk.bzl",
27    _go_download_sdk = "go_download_sdk",
28    _go_host_sdk = "go_host_sdk",
29    _go_local_sdk = "go_local_sdk",
30    _go_register_toolchains = "go_register_toolchains",
31    _go_wrap_sdk = "go_wrap_sdk",
32)
33
34go_rules_dependencies = _go_rules_dependencies
35go_register_toolchains = _go_register_toolchains
36go_download_sdk = _go_download_sdk
37go_host_sdk = _go_host_sdk
38go_local_sdk = _go_local_sdk
39go_wrap_sdk = _go_wrap_sdk
40