WORKSPACE 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. workspace(name = "com_github_brpc_brpc")
  2. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
  3. skylib_version = "0.8.0"
  4. http_archive(
  5. name = "bazel_skylib",
  6. type = "tar.gz",
  7. url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{}/bazel-skylib.{}.tar.gz".format (skylib_version, skylib_version),
  8. sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e",
  9. )
  10. http_archive(
  11. name = "com_google_protobuf",
  12. strip_prefix = "protobuf-3.6.1.3",
  13. sha256 = "9510dd2afc29e7245e9e884336f848c8a6600a14ae726adb6befdb4f786f0be2",
  14. type = "zip",
  15. url = "https://github.com/protocolbuffers/protobuf/archive/v3.6.1.3.zip",
  16. )
  17. http_archive(
  18. name = "com_github_gflags_gflags",
  19. strip_prefix = "gflags-46f73f88b18aee341538c0dfc22b1710a6abedef",
  20. url = "https://github.com/gflags/gflags/archive/46f73f88b18aee341538c0dfc22b1710a6abedef.tar.gz",
  21. )
  22. bind(
  23. name = "gflags",
  24. actual = "@com_github_gflags_gflags//:gflags",
  25. )
  26. http_archive(
  27. name = "com_github_google_leveldb",
  28. build_file = "//:leveldb.BUILD",
  29. strip_prefix = "leveldb-a53934a3ae1244679f812d998a4f16f2c7f309a6",
  30. url = "https://github.com/google/leveldb/archive/a53934a3ae1244679f812d998a4f16f2c7f309a6.tar.gz"
  31. )
  32. http_archive(
  33. name = "com_github_google_glog",
  34. build_file = "//:glog.BUILD",
  35. strip_prefix = "glog-a6a166db069520dbbd653c97c2e5b12e08a8bb26",
  36. url = "https://github.com/google/glog/archive/a6a166db069520dbbd653c97c2e5b12e08a8bb26.tar.gz"
  37. )
  38. http_archive(
  39. name = "com_google_googletest",
  40. strip_prefix = "googletest-0fe96607d85cf3a25ac40da369db62bbee2939a5",
  41. url = "https://github.com/google/googletest/archive/0fe96607d85cf3a25ac40da369db62bbee2939a5.tar.gz",
  42. )