Lines Matching refs:srcs
18 def _CcOuts(srcs, use_grpc_plugin=False):
19 ret = [s[:-len(".proto")] + ".pb.h" for s in srcs] + \
20 [s[:-len(".proto")] + ".pb.cc" for s in srcs]
22 ret += [s[:-len(".proto")] + ".grpc.pb.h" for s in srcs] + \
23 [s[:-len(".proto")] + ".grpc.pb.cc" for s in srcs]
26 def _PyOuts(srcs):
27 return [s[:-len(".proto")] + "_pb2.py" for s in srcs]
51 srcs = ctx.files.srcs
53 deps += ctx.files.srcs
76 inputs=srcs + deps,
78 arguments=args + import_flags + [s.path for s in srcs],
84 srcs=srcs,
92 "srcs": attr.label_list(allow_files = True),
116 srcs=[],
133 srcs: the .proto files of the cc_proto_library.
160 srcs=srcs,
176 outs = _CcOuts(srcs, use_grpc_plugin)
180 srcs=srcs,
197 srcs=outs,
203 def internal_gen_well_known_protos_java(srcs):
207 srcs: the well known protos
216 srcs = srcs,
229 srcs=[],
245 srcs: the .proto files of the py_proto_library.
258 outs = _PyOuts(srcs)
266 srcs=srcs,
280 srcs=outs+py_extra_srcs,
302 srcs=[s],