BUILD 1.1 KB

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