Lines Matching defs:path
8 import os.path
133 """Linker driver action for -Wcrl,dsym,<dsym-path-prefix>. Invokes dsymutil
134 on the linker's output and produces a dsym file at |dsym_file| path.
137 dsym_path_prefix: string, The path at which the dsymutil output should be
148 base = os.path.basename(linker_out)
149 dsym_out = os.path.join(dsym_path_prefix, base + '.dSYM')
162 unstripped_path_prefix: string, The path at which the unstripped output
173 base = os.path.basename(linker_out)
174 unstripped_out = os.path.join(unstripped_path_prefix, base + '.unstripped')
214 def _remove_path(path):
215 """Removes the file or directory at |path| if it exists."""
216 if os.path.exists(path):
217 if os.path.isdir(path):
218 shutil.rmtree(path)
220 os.unlink(path)