github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/language/proto/gen/BUILD.bazel (about)

     1  load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
     2  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     3  
     4  go_library(
     5      name = "gen_lib",
     6      srcs = ["gen_known_imports.go"],
     7      importpath = "github.com/bazelbuild/bazel-gazelle/language/proto/gen",
     8      visibility = ["//visibility:private"],
     9      deps = ["//label"],
    10  )
    11  
    12  go_binary(
    13      name = "gen_known_imports",
    14      embed = [":gen_lib"],
    15      visibility = ["//:__subpackages__"],
    16  )
    17  
    18  filegroup(
    19      name = "all_files",
    20      testonly = True,
    21      srcs = [
    22          "BUILD.bazel",
    23          "def.bzl",
    24          "gen_known_imports.go",
    25      ],
    26      visibility = ["//visibility:public"],
    27  )
    28  
    29  bzl_library(
    30      name = "def",
    31      srcs = ["def.bzl"],
    32      visibility = ["//visibility:public"],
    33  )