BUILD 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. "archive.go",
  10. "cm.go",
  11. "flow.go",
  12. "http.go",
  13. "local.go",
  14. "monitor.go",
  15. "music.go",
  16. "oversea.go",
  17. "pgc.go",
  18. "search.go",
  19. "staff.go",
  20. "stats.go",
  21. "task.go",
  22. "track.go",
  23. "video.go",
  24. ],
  25. importpath = "go-common/app/admin/main/videoup/http",
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. deps = [
  29. "//app/admin/main/videoup/conf:go_default_library",
  30. "//app/admin/main/videoup/model/archive:go_default_library",
  31. "//app/admin/main/videoup/model/monitor:go_default_library",
  32. "//app/admin/main/videoup/model/music:go_default_library",
  33. "//app/admin/main/videoup/model/oversea:go_default_library",
  34. "//app/admin/main/videoup/model/search:go_default_library",
  35. "//app/admin/main/videoup/service:go_default_library",
  36. "//library/ecode:go_default_library",
  37. "//library/log:go_default_library",
  38. "//library/net/http/blademaster:go_default_library",
  39. "//library/net/http/blademaster/binding:go_default_library",
  40. "//library/net/http/blademaster/middleware/permit:go_default_library",
  41. "//library/net/http/blademaster/middleware/verify:go_default_library",
  42. "//library/net/http/blademaster/render:go_default_library",
  43. "//library/time:go_default_library",
  44. "//library/xstr:go_default_library",
  45. "//vendor/github.com/jinzhu/gorm:go_default_library",
  46. "//vendor/github.com/pkg/errors:go_default_library",
  47. ],
  48. )
  49. filegroup(
  50. name = "package-srcs",
  51. srcs = glob(["**"]),
  52. tags = ["automanaged"],
  53. visibility = ["//visibility:private"],
  54. )
  55. filegroup(
  56. name = "all-srcs",
  57. srcs = [":package-srcs"],
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:public"],
  60. )