BUILD 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "callback.go",
  10. "http.go",
  11. "push.go",
  12. "report.go",
  13. "setting.go",
  14. ],
  15. importpath = "go-common/app/interface/main/push/http",
  16. tags = ["automanaged"],
  17. deps = [
  18. "//app/interface/main/push/conf:go_default_library",
  19. "//app/interface/main/push/service:go_default_library",
  20. "//app/service/main/push/dao/huawei:go_default_library",
  21. "//app/service/main/push/dao/jpush:go_default_library",
  22. "//app/service/main/push/dao/mi:go_default_library",
  23. "//app/service/main/push/dao/oppo:go_default_library",
  24. "//app/service/main/push/model:go_default_library",
  25. "//library/ecode:go_default_library",
  26. "//library/log:go_default_library",
  27. "//library/net/http/blademaster:go_default_library",
  28. "//library/net/http/blademaster/middleware/auth:go_default_library",
  29. "//library/time:go_default_library",
  30. ],
  31. )
  32. filegroup(
  33. name = "package-srcs",
  34. srcs = glob(["**"]),
  35. tags = ["automanaged"],
  36. visibility = ["//visibility:private"],
  37. )
  38. filegroup(
  39. name = "all-srcs",
  40. srcs = [":package-srcs"],
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:public"],
  43. )