BUILD 1.2 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. "dm_date.go",
  10. "dm_search.go",
  11. "dm_update.go",
  12. "dmhistory_search.go",
  13. "http.go",
  14. "pgc_search.go",
  15. "pgc_update.go",
  16. "reply_search.go",
  17. "reply_update.go",
  18. ],
  19. importpath = "go-common/app/service/main/search/http",
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:public"],
  22. deps = [
  23. "//app/service/main/search/conf:go_default_library",
  24. "//app/service/main/search/dao:go_default_library",
  25. "//app/service/main/search/model:go_default_library",
  26. "//app/service/main/search/service:go_default_library",
  27. "//library/ecode:go_default_library",
  28. "//library/log:go_default_library",
  29. "//library/net/http/blademaster: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. )