github.com/bazelbuild/rules_go@v0.47.2-0.20240515105122-e7ddb9ea474e/go/deps.bzl (about) 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 21 load( 22 "//go/private:nogo.bzl", 23 "go_register_nogo_wrapper", 24 ) 25 load( 26 "//go/private:repositories.bzl", 27 _go_rules_dependencies = "go_rules_dependencies", 28 ) 29 load( 30 "//go/private:sdk.bzl", 31 _go_download_sdk = "go_download_sdk", 32 _go_host_sdk = "go_host_sdk", 33 _go_local_sdk = "go_local_sdk", 34 _go_register_toolchains = "go_register_toolchains", 35 _go_wrap_sdk = "go_wrap_sdk", 36 ) 37 38 go_rules_dependencies = _go_rules_dependencies 39 go_register_toolchains = _go_register_toolchains 40 go_download_sdk = _go_download_sdk 41 go_host_sdk = _go_host_sdk 42 go_local_sdk = _go_local_sdk 43 go_wrap_sdk = _go_wrap_sdk 44 go_register_nogo = go_register_nogo_wrapper