Lines Matching refs:tgt
104 def wanted_binary(tgt):
106 return tgt.build == "protoc" and tgt.get("name", "") in wanted_binaries
109 def only_on_host_toolchain(tgt):
110 return tgt.get("name", "") in ("grpc_plugin_support", "grpc_cpp_plugin")
130 % for tgt in targets:
131 % if wanted_binary(tgt):
132 % if only_on_host_toolchain(tgt):
135 ${cc_binary(tgt)}
138 ${cc_binary(tgt)}
182 <%def name="cc_binary(tgt)">
183 executable("${tgt.name}") {
185 % for src in tgt.src:
190 % for dep in get_deps(tgt):
194 <% extra_configs = get_extra_configs(tgt) %>