github.com/ajguerrer/rules_go@v0.20.3/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 "@io_bazel_rules_go//go/private:repositories.bzl", 23 _go_rules_dependencies = "go_rules_dependencies", 24 ) 25 load( 26 "@io_bazel_rules_go//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 34 go_rules_dependencies = _go_rules_dependencies 35 go_register_toolchains = _go_register_toolchains 36 go_download_sdk = _go_download_sdk 37 go_host_sdk = _go_host_sdk 38 go_local_sdk = _go_local_sdk 39 go_wrap_sdk = _go_wrap_sdk