Lines Matching full:path
124 for path in os.environ["PATH"].split(os.pathsep):
125 if os.path.exists(os.path.join(path, cmd)):
126 return os.path.join(path, cmd)
138 cipd_bin = os.path.join(os.path.dirname(goma), ".cipd_bin")
139 if not os.path.exists(cipd_bin): return None
140 goma_auth = os.path.expanduser("~/.goma_client_oauth2_config")
141 if not os.path.exists(goma_auth): return None
256 return os.path.join(OUTDIR, subdir)
258 def PrepareMksnapshotCmdline(orig_cmdline, path):
259 result = "gdb --args %s/mksnapshot " % path
262 result += ("%(path)s%(sep)s%(arg)s " %
263 {"path": path, "sep": os.sep, "arg": w})
343 path = GetPath(self.arch, self.mode)
344 args_gn = os.path.join(path, "args.gn")
345 build_ninja = os.path.join(path, "build.ninja")
346 if not os.path.exists(path):
347 print("# mkdir -p %s" % path)
348 os.makedirs(path)
349 if not os.path.exists(args_gn):
351 if not os.path.exists(build_ninja):
352 code = _Call("gn gen %s" % path)
355 code = _Call("gn clean %s" % path)
361 return _Call("autoninja -C %s %s" % (path, targets))
364 (path, targets))
371 cmdline = PrepareMksnapshotCmdline(orig_cmdline, path) + extra_opt
389 os.path.join("tools", "run-tests.py") +
410 path = GetPath(a, m)
411 if path not in self.configs:
412 self.configs[path] = Config(a, m, targets, tests, clean,
415 self.configs[path].Extend(targets, tests)