Skip to content
Snippets Groups Projects
Commit 81f81c26 authored by David G. Quintas's avatar David G. Quintas Committed by GitHub
Browse files

Merge pull request #9783 from dgquintas/bazel_gflags

add gflags to bazel
parents 79ebdf4b 388b24d5
No related branches found
No related tags found
No related merge requests found
...@@ -33,26 +33,36 @@ bind( ...@@ -33,26 +33,36 @@ bind(
actual = "@submodule_gtest//:gtest", actual = "@submodule_gtest//:gtest",
) )
bind(
name = "gflags",
actual = "@com_github_gflags_gflags//:gflags",
)
new_local_repository( new_local_repository(
name = "submodule_boringssl", name = "submodule_boringssl",
path = "third_party/boringssl-with-bazel",
build_file = "third_party/boringssl-with-bazel/BUILD", build_file = "third_party/boringssl-with-bazel/BUILD",
path = "third_party/boringssl-with-bazel",
) )
new_local_repository( new_local_repository(
name = "submodule_zlib", name = "submodule_zlib",
path = "third_party/zlib",
build_file = "third_party/zlib.BUILD", build_file = "third_party/zlib.BUILD",
path = "third_party/zlib",
) )
new_local_repository( new_local_repository(
name = "submodule_protobuf", name = "submodule_protobuf",
path = "third_party/protobuf",
build_file = "third_party/protobuf/BUILD", build_file = "third_party/protobuf/BUILD",
path = "third_party/protobuf",
) )
new_local_repository( new_local_repository(
name = "submodule_gtest", name = "submodule_gtest",
path = "third_party/googletest",
build_file = "third_party/gtest.BUILD", build_file = "third_party/gtest.BUILD",
path = "third_party/googletest",
)
local_repository(
name = "com_github_gflags_gflags",
path = "third_party/gflags",
) )
...@@ -37,8 +37,11 @@ cc_library( ...@@ -37,8 +37,11 @@ cc_library(
hdrs = [ hdrs = [
"test_config.h", "test_config.h",
], ],
deps = ["//:gpr"],
visibility = ["//test:__subpackages__"], visibility = ["//test:__subpackages__"],
deps = [
"//:gpr",
"//external:gflags",
],
) )
cc_library( cc_library(
...@@ -58,6 +61,10 @@ cc_library( ...@@ -58,6 +61,10 @@ cc_library(
"subprocess.h", "subprocess.h",
"test_credentials_provider.h", "test_credentials_provider.h",
], ],
deps = ["//test/core/util:gpr_test_util", "//:grpc++", "//test/core/end2end:ssl_test_data"],
visibility = ["//test:__subpackages__"], visibility = ["//test:__subpackages__"],
deps = [
"//:grpc++",
"//test/core/end2end:ssl_test_data",
"//test/core/util:gpr_test_util",
],
) )
Subproject commit f8a0efe03aa69b3336d8e228b37d4ccb17324b88 Subproject commit 30dbc81fb5ffdc98ea9b14b1918bfe4e8779b26e
...@@ -44,7 +44,7 @@ cat << EOF | awk '{ print $1 }' | sort > $want_submodules ...@@ -44,7 +44,7 @@ cat << EOF | awk '{ print $1 }' | sort > $want_submodules
44c25c892a6229b20db7cd9dc05584ea865896de third_party/benchmark (v0.1.0-343-g44c25c8) 44c25c892a6229b20db7cd9dc05584ea865896de third_party/benchmark (v0.1.0-343-g44c25c8)
78684e5b222645828ca302e56b40b9daff2b2d27 third_party/boringssl (78684e5) 78684e5b222645828ca302e56b40b9daff2b2d27 third_party/boringssl (78684e5)
886e7d75368e3f4fab3f4d0d3584e4abfc557755 third_party/boringssl-with-bazel (version_for_cocoapods_7.0-857-g886e7d7) 886e7d75368e3f4fab3f4d0d3584e4abfc557755 third_party/boringssl-with-bazel (version_for_cocoapods_7.0-857-g886e7d7)
f8a0efe03aa69b3336d8e228b37d4ccb17324b88 third_party/gflags (v2.2.0) 30dbc81fb5ffdc98ea9b14b1918bfe4e8779b26e third_party/gflags (v2.2.0)
c99458533a9b4c743ed51537e25989ea55944908 third_party/googletest (release-1.7.0) c99458533a9b4c743ed51537e25989ea55944908 third_party/googletest (release-1.7.0)
a428e42072765993ff674fda72863c9f1aa2d268 third_party/protobuf (v3.1.0-alpha-1) a428e42072765993ff674fda72863c9f1aa2d268 third_party/protobuf (v3.1.0-alpha-1)
bcad91771b7f0bff28a1cac1981d7ef2b9bcef3c third_party/thrift (bcad917) bcad91771b7f0bff28a1cac1981d7ef2b9bcef3c third_party/thrift (bcad917)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment