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

Merge pull request #11519 from iancoolidge/devel-reflection

alwayslink=1 for reflection plugin
parents 19617bb7 13213419
No related branches found
No related tags found
No related merge requests found
......@@ -1543,6 +1543,7 @@ grpc_cc_library(
":grpc++",
"//src/proto/grpc/reflection/v1alpha:reflection_proto",
],
alwayslink = 1,
)
grpc_cc_library(
......
......@@ -25,7 +25,8 @@
def grpc_cc_library(name, srcs = [], public_hdrs = [], hdrs = [],
external_deps = [], deps = [], standalone = False,
language = "C++", testonly = False, visibility = None):
language = "C++", testonly = False, visibility = None,
alwayslink = 0):
copts = []
if language.upper() == "C":
copts = ["-std=c99"]
......@@ -40,7 +41,8 @@ def grpc_cc_library(name, srcs = [], public_hdrs = [], hdrs = [],
linkopts = ["-pthread"],
includes = [
"include"
]
],
alwayslink = alwayslink,
)
def grpc_proto_plugin(name, srcs = [], deps = []):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment