BUILD 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = ["service_test.go"],
  10. embed = [":go_default_library"],
  11. rundir = ".",
  12. tags = ["automanaged"],
  13. deps = [
  14. "//app/interface/main/creative/conf:go_default_library",
  15. "//app/interface/main/creative/model/archive:go_default_library",
  16. "//app/interface/main/creative/model/order:go_default_library",
  17. "//app/interface/main/creative/service:go_default_library",
  18. "//vendor/github.com/davecgh/go-spew/spew:go_default_library",
  19. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  20. ],
  21. )
  22. go_library(
  23. name = "go_default_library",
  24. srcs = [
  25. "archive.go",
  26. "biz.go",
  27. "fav.go",
  28. "history.go",
  29. "mission.go",
  30. "myinfo.go",
  31. "netsafe.go",
  32. "order.go",
  33. "porder.go",
  34. "rules.go",
  35. "service.go",
  36. "staff.go",
  37. "tag.go",
  38. "viewpoint.go",
  39. ],
  40. importpath = "go-common/app/interface/main/creative/service/archive",
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:public"],
  43. deps = [
  44. "//app/admin/main/videoup/model/archive:go_default_library",
  45. "//app/interface/main/creative/conf:go_default_library",
  46. "//app/interface/main/creative/dao/account:go_default_library",
  47. "//app/interface/main/creative/dao/activity:go_default_library",
  48. "//app/interface/main/creative/dao/appeal:go_default_library",
  49. "//app/interface/main/creative/dao/archive:go_default_library",
  50. "//app/interface/main/creative/dao/coin:go_default_library",
  51. "//app/interface/main/creative/dao/game:go_default_library",
  52. "//app/interface/main/creative/dao/order:go_default_library",
  53. "//app/interface/main/creative/dao/search:go_default_library",
  54. "//app/interface/main/creative/dao/tag:go_default_library",
  55. "//app/interface/main/creative/dao/template:go_default_library",
  56. "//app/interface/main/creative/model/activity:go_default_library",
  57. "//app/interface/main/creative/model/appeal:go_default_library",
  58. "//app/interface/main/creative/model/archive:go_default_library",
  59. "//app/interface/main/creative/model/game:go_default_library",
  60. "//app/interface/main/creative/model/order:go_default_library",
  61. "//app/interface/main/creative/model/search:go_default_library",
  62. "//app/interface/main/creative/model/tag:go_default_library",
  63. "//app/interface/main/creative/service:go_default_library",
  64. "//app/service/main/archive/api:go_default_library",
  65. "//app/service/main/archive/model/archive:go_default_library",
  66. "//library/ecode:go_default_library",
  67. "//library/log:go_default_library",
  68. "//library/stat/prom:go_default_library",
  69. "//library/sync/errgroup:go_default_library",
  70. "//library/time:go_default_library",
  71. ],
  72. )
  73. filegroup(
  74. name = "package-srcs",
  75. srcs = glob(["**"]),
  76. tags = ["automanaged"],
  77. visibility = ["//visibility:private"],
  78. )
  79. filegroup(
  80. name = "all-srcs",
  81. srcs = [":package-srcs"],
  82. tags = ["automanaged"],
  83. visibility = ["//visibility:public"],
  84. )