BUILD 1012 B

123456789101112131415161718192021222324252627282930313233343536
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = ["http.go"],
  9. importpath = "go-common/app/service/main/riot-search/server/http",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//app/service/main/riot-search/conf:go_default_library",
  14. "//app/service/main/riot-search/model:go_default_library",
  15. "//app/service/main/riot-search/service:go_default_library",
  16. "//library/log:go_default_library",
  17. "//library/net/http/blademaster:go_default_library",
  18. "//library/net/http/blademaster/middleware/verify:go_default_library",
  19. ],
  20. )
  21. filegroup(
  22. name = "package-srcs",
  23. srcs = glob(["**"]),
  24. tags = ["automanaged"],
  25. visibility = ["//visibility:private"],
  26. )
  27. filegroup(
  28. name = "all-srcs",
  29. srcs = [":package-srcs"],
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:public"],
  32. )