BUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = [
  8. "account.go",
  9. "cache.go",
  10. "cloud.go",
  11. "http.go",
  12. "passport.go",
  13. "passport_login.go",
  14. "passport_reg.go",
  15. "sign.go",
  16. ],
  17. importpath = "go-common/app/service/main/passport-game/http",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/service/main/passport-game/conf:go_default_library",
  22. "//app/service/main/passport-game/model:go_default_library",
  23. "//app/service/main/passport-game/service:go_default_library",
  24. "//library/ecode:go_default_library",
  25. "//library/log:go_default_library",
  26. "//library/net/http/blademaster:go_default_library",
  27. "//library/net/metadata:go_default_library",
  28. ],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [":package-srcs"],
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. )