Lines Matching full:path
6 def _GetPath(ctx, path):
8 return ctx.label.workspace_root + "/" + path
10 return path
23 return ctx.genfiles_dir.path + (
28 # Either way, appending the source path to the genfiles dir works.
61 def _RelativeOutputPath(path, include, dest = ""):
63 return path
65 if not path.startswith(include):
66 fail("Include path %s isn't part of the path %s." % (include, path))
73 path = path[len(include):]
74 return dest + path
109 in_gen_dir = src.root.path == gen_dir
113 path = f.replace("-I", "")
114 import_flags_real.append("-I$(realpath -s %s)" % path)
141 args += [("--plugin=protoc-gen-%s=" + path_tpl) % (lang, plugin.path)]
150 arguments = args + import_flags.to_list() + [src.path],
158 ["$(realpath %s)" % ctx.executable.protoc.path] + args +
168 if generated_out != out.path:
169 command += ";mv %s %s" % (generated_out, out.path)
240 import_flags = ["-I{}".format(path) for dep in deps for path in dep.transitive_proto_path.to_list()],
278 include: a string indicating the include path of the .proto files.
344 args.add_all([src.path for src in dep.direct_sources])
348 args.add_all([src.path[offset:] for src in dep.direct_sources])
387 strip_prefix: Path to the root of the files to copy.
434 include: a string indicating the include path of the .proto files.