Lines Matching refs:source_path
202 def __init__(self, source_path, link_path):
205 self._source_path = source_path
222 source_path = os.path.abspath(self._source_path)
225 source_path = os.path.relpath(self._source_path,
228 os.symlink(source_path, os.path.abspath(self._link_path))
239 def symlink(source_path, link_path):
240 flag = 1 if os.path.isdir(source_path) else 0
242 unicode(link_path), unicode(source_path), flag):
245 'creating symlinks.' % source_path)
261 for source_path, link_path in FILES.iteritems():
263 source_path, link_path, check_fn=os.path.isfile, check_msg='files')
350 def _ActionForPath(source_path, link_path=None, check_fn=None,
358 source_path: Path relative to the Chromium checkout root.
362 same path as source_path.
379 link_path = link_path or source_path
382 source_path = fix_separators(source_path)
383 source_path = os.path.join(CHROMIUM_CHECKOUT, source_path)
384 if os.path.exists(source_path) and not check_fn:
386 'Tried to link to: %s' % (check_msg, source_path))
388 if not os.path.exists(source_path):
390 'errors on platform-specific dependencies.', source_path)
412 actions.append(Symlink(source_path, link_path))