Merge pull request #1303 from yang-g/codegen

Avoid generating libs for unknown types.
pull/1305/head
Nicolas Noble 10 years ago
commit 720a208b7f
  1. 23
      BUILD
  2. 2
      templates/BUILD.template

23
BUILD

@ -765,29 +765,6 @@ cc_library(
)
cc_library(
name = "pubsub_client_lib",
srcs = [
"examples/pubsub/label.proto",
"examples/pubsub/empty.proto",
"examples/pubsub/pubsub.proto",
"examples/pubsub/publisher.cc",
"examples/pubsub/subscriber.cc",
],
hdrs = [
],
includes = [
"include",
".",
],
deps = [
":grpc++",
":grpc",
":gpr",
],
)
cc_library(
name = "grpc_csharp_ext",
srcs = [

@ -54,7 +54,7 @@ def get_deps(target_dict):
%>
% for lib in libs:
% if lib.build != "private":
% if lib.build in ("all", "protoc"):
${cc_library(lib)}
% endif
% endfor

Loading…
Cancel
Save