WORKSPACE 1.2 KB
Newer Older
1 2 3 4 5 6
# External dependency to Google protobuf.
http_archive(
    name = "protobuf",
    url = "http://github.com/google/protobuf/archive/v3.1.0.tar.gz",
    sha256 = "0a0ae63cbffc274efb573bdde9a253e3f32e458c41261df51c5dbc5ad541e8f7",
    strip_prefix = "protobuf-3.1.0",
7 8
)

Y
Yi Wang 已提交
9 10 11 12 13 14 15 16 17
# External dependency to gtest 1.7.0.  This method comes from
# https://www.bazel.io/versions/master/docs/tutorial/cpp.html.
new_http_archive(
    name = "gtest",
    url = "https://github.com/google/googletest/archive/release-1.7.0.zip",
    sha256 = "b58cb7547a28b2c718d1e38aee18a3659c9e3ff52440297e965f5edffe34b6d0",
    build_file = "third_party/gtest.BUILD",
    strip_prefix = "googletest-release-1.7.0",
)
18 19 20 21 22 23 24 25

# External dependency to gflags.  This method comes from
# https://github.com/gflags/example/blob/master/WORKSPACE.
git_repository(
    name   = "gflags",
    tag    = "v2.2.0",
    remote = "https://github.com/gflags/gflags.git"
)
26 27 28 29 30 31 32 33 34

# External dependency to glog.  This method comes from
# https://github.com/reyoung/bazel_playground/blob/master/WORKSPACE
new_git_repository(
    name = "glog",
    remote = "https://github.com/google/glog.git",
    commit = "b6a5e0524c28178985f0d228e9eaa43808dbec3c",
    build_file = "third_party/glog.BUILD"
)