aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazel
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-04-20 18:40:16 +0000
committerGravatar Vijay Pai <vpai@google.com>2017-04-20 22:21:01 +0000
commit576e546019140a05cc88f896e7ff50d70704d719 (patch)
tree1cdb6d18e8c8d0a372a88d00216514f630516af1 /bazel
parent922d117318f1449f17b1f1dc45ca921313efd5eb (diff)
Changes required to make build possible: create separate grpc++_base{,_unsecure}, move grpc_compression_trace definition, and remove an assertion about library initialization from server
Diffstat (limited to 'bazel')
-rw-r--r--bazel/grpc_build_system.bzl13
1 files changed, 13 insertions, 0 deletions
diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl
index 8b524bd0e5..984c06de48 100644
--- a/bazel/grpc_build_system.bzl
+++ b/bazel/grpc_build_system.bzl
@@ -49,6 +49,19 @@ def grpc_cc_library(name, srcs = [], public_hdrs = [], hdrs = [], external_deps
]
)
+def grpc_cc_libraries(name_list, additional_dep_list, srcs = [], public_hdrs = [], hdrs = [], external_deps = [], deps = [], standalone = False, language="C++"):
+ for i in range(len(name_list)):
+ grpc_cc_library(
+ name = name_list[i],
+ srcs = srcs,
+ hdrs = hdrs,
+ public_hdrs = public_hdrs,
+ deps = deps + additional_dep_list[i],
+ external_deps = external_deps,
+ standalone = standalone,
+ language = language
+ )
+
def grpc_proto_plugin(name, srcs = [], deps = []):
native.cc_binary(
name = name,