github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/internal/bzlmod/BUILD.bazel (about) 1 load("@bazel_skylib//:bzl_library.bzl", "bzl_library") 2 3 filegroup( 4 name = "all_files", 5 testonly = True, 6 srcs = [ 7 "BUILD.bazel", 8 "default_gazelle_overrides.bzl", 9 "go_deps.bzl", 10 "go_mod.bzl", 11 "non_module_deps.bzl", 12 "semver.bzl", 13 "utils.bzl", 14 ], 15 visibility = ["//visibility:public"], 16 ) 17 18 bzl_library( 19 name = "go_deps", 20 srcs = ["go_deps.bzl"], 21 visibility = ["//:__subpackages__"], 22 deps = [ 23 ":default_gazelle_overrides", 24 ":semver", 25 "//internal:go_repository", 26 ], 27 ) 28 29 bzl_library( 30 name = "go_mod", 31 srcs = ["go_mod.bzl"], 32 visibility = ["//:__subpackages__"], 33 deps = [ 34 ":semver", 35 ], 36 ) 37 38 bzl_library( 39 name = "non_module_deps", 40 srcs = ["non_module_deps.bzl"], 41 visibility = ["//:__subpackages__"], 42 deps = [ 43 "//internal:go_repository_cache", 44 "//internal:go_repository_config", 45 "//internal:go_repository_tools", 46 ], 47 ) 48 49 bzl_library( 50 name = "semver", 51 srcs = ["semver.bzl"], 52 visibility = ["//:__subpackages__"], 53 ) 54 55 bzl_library( 56 name = "utils", 57 srcs = ["utils.bzl"], 58 visibility = ["//:__subpackages__"], 59 deps = ["@bazel_features//:features"], 60 ) 61 62 bzl_library( 63 name = "default_gazelle_overrides", 64 srcs = ["default_gazelle_overrides.bzl"], 65 visibility = ["//:__subpackages__"], 66 )