Skip to content

Commit e9932d4

Browse files
committed
add gflags to bazel
1 parent c74dfc3 commit e9932d4

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

WORKSPACE

+14-4
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,36 @@ bind(
3333
actual = "@submodule_gtest//:gtest",
3434
)
3535

36+
bind(
37+
name = "gflags",
38+
actual = "@com_github_gflags_gflags//:gflags",
39+
)
40+
3641
new_local_repository(
3742
name = "submodule_boringssl",
38-
path = "third_party/boringssl-with-bazel",
3943
build_file = "third_party/boringssl-with-bazel/BUILD",
44+
path = "third_party/boringssl-with-bazel",
4045
)
4146

4247
new_local_repository(
4348
name = "submodule_zlib",
44-
path = "third_party/zlib",
4549
build_file = "third_party/zlib.BUILD",
50+
path = "third_party/zlib",
4651
)
4752

4853
new_local_repository(
4954
name = "submodule_protobuf",
50-
path = "third_party/protobuf",
5155
build_file = "third_party/protobuf/BUILD",
56+
path = "third_party/protobuf",
5257
)
5358

5459
new_local_repository(
5560
name = "submodule_gtest",
56-
path = "third_party/googletest",
5761
build_file = "third_party/gtest.BUILD",
62+
path = "third_party/googletest",
63+
)
64+
65+
local_repository(
66+
name = "com_github_gflags_gflags",
67+
path = "third_party/gflags",
5868
)

tools/run_tests/sanity/check_submodules.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cat << EOF | awk '{ print $1 }' | sort > $want_submodules
4444
44c25c892a6229b20db7cd9dc05584ea865896de third_party/benchmark (v0.1.0-343-g44c25c8)
4545
78684e5b222645828ca302e56b40b9daff2b2d27 third_party/boringssl (78684e5)
4646
886e7d75368e3f4fab3f4d0d3584e4abfc557755 third_party/boringssl-with-bazel (version_for_cocoapods_7.0-857-g886e7d7)
47-
f8a0efe03aa69b3336d8e228b37d4ccb17324b88 third_party/gflags (v2.2.0)
47+
30dbc81fb5ffdc98ea9b14b1918bfe4e8779b26e third_party/gflags (v2.2.0)
4848
c99458533a9b4c743ed51537e25989ea55944908 third_party/googletest (release-1.7.0)
4949
a428e42072765993ff674fda72863c9f1aa2d268 third_party/protobuf (v3.1.0-alpha-1)
5050
bcad91771b7f0bff28a1cac1981d7ef2b9bcef3c third_party/thrift (bcad917)

0 commit comments

Comments
 (0)