BUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 = [
  9. "face.go",
  10. "http.go",
  11. "login_log.go",
  12. "pwd.go",
  13. ],
  14. importpath = "go-common/app/service/main/passport/http",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//app/service/main/passport/conf:go_default_library",
  19. "//app/service/main/passport/model:go_default_library",
  20. "//app/service/main/passport/service:go_default_library",
  21. "//library/ecode:go_default_library",
  22. "//library/log:go_default_library",
  23. "//library/net/http/blademaster:go_default_library",
  24. "//library/net/http/blademaster/middleware/verify:go_default_library",
  25. ],
  26. )
  27. filegroup(
  28. name = "package-srcs",
  29. srcs = glob(["**"]),
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:private"],
  32. )
  33. filegroup(
  34. name = "all-srcs",
  35. srcs = [":package-srcs"],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )