...
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)
33load(
34 "//go/private:nogo.bzl",
35 "go_register_nogo_wrapper",
36)
37
38go_rules_dependencies = _go_rules_dependencies
39go_register_toolchains = _go_register_toolchains
40go_download_sdk = _go_download_sdk
41go_host_sdk = _go_host_sdk
42go_local_sdk = _go_local_sdk
43go_wrap_sdk = _go_wrap_sdk
44go_register_nogo = go_register_nogo_wrapper
View as plain text