Lines Matching refs:source_path
223 def __init__(self, source_path, link_path):
226 self._source_path = source_path
243 source_path = os.path.abspath(self._source_path)
246 source_path = os.path.relpath(self._source_path,
249 os.symlink(source_path, os.path.abspath(self._link_path))
260 def symlink(source_path, link_path):
261 flag = 1 if os.path.isdir(source_path) else 0
263 unicode(link_path), unicode(source_path), flag):
266 'creating symlinks.' % source_path)
282 for source_path, link_path in FILES.iteritems():
284 source_path, link_path, check_fn=os.path.isfile, check_msg='files')
371 def _ActionForPath(source_path, link_path=None, check_fn=None,
379 source_path: Path relative to the Chromium checkout root.
383 same path as source_path.
400 link_path = link_path or source_path
403 source_path = fix_separators(source_path)
404 source_path = os.path.join(CHROMIUM_CHECKOUT, source_path)
405 if os.path.exists(source_path) and not check_fn:
407 'Tried to link to: %s' % (check_msg, source_path))
409 if not os.path.exists(source_path):
411 'errors on platform-specific dependencies.', source_path)
433 actions.append(Symlink(source_path, link_path))