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

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

# External dependency to gflags.  This method comes from
# https://github.com/gflags/example/blob/master/WORKSPACE.
Y
Yi Wang 已提交
19 20 21 22
new_git_repository(
    name="gflags",
    tag="v2.2.0",
    remote="https://github.com/gflags/gflags.git",
23
    build_file="third_party/gflags.BUILD")
24 25 26 27

# External dependency to glog.  This method comes from
# https://github.com/reyoung/bazel_playground/blob/master/WORKSPACE
new_git_repository(
Y
Yi Wang 已提交
28 29 30 31
    name="glog",
    remote="https://github.com/google/glog.git",
    commit="b6a5e0524c28178985f0d228e9eaa43808dbec3c",
    build_file="third_party/glog.BUILD")