Lines Matching refs:source_dir

68         conflict_path = bind_mount.source_dir
72 path_in_source = os.path.join(bind_mount.source_dir, relative_path)
81 def _AddOverlay(self, source_dir, overlay_dir, intermediate_work_dir, skip_subdirs, argument
123 os.path.relpath(current_dir_origin, source_dir) in allowed_projects):
181 def _AddArtifactDirectories(self, source_dir, destination_dir, skip_subdirs): argument
195 main_out_dir = os.path.join(source_dir, 'out')
199 for subdir in os.listdir(source_dir):
201 out_origin = os.path.join(source_dir, subdir)
208 repo_origin = os.path.join(source_dir, '.repo')
217 def _AddOverlays(self, source_dir, overlay_dirs, destination_dir, argument
236 overlay_dirs.append(source_dir)
238 skip_subdirs = self._AddArtifactDirectories(source_dir, destination_dir,
251 skip_subdirs.add(os.path.join(source_dir, 'overlays'))
254 self._AddOverlay(source_dir, overlay_dir, intermediate_work_dir,
259 def _AddBindMount(self, source_dir, destination_dir, readonly=False): argument
275 % (source_dir, destination_dir, conflict_path))
281 source_dir=source_dir, readonly=readonly)
307 def _GetReadWriteFunction(self, build_config, source_dir): argument
323 rw_allowlist = {os.path.join(source_dir, p) for p in build_config.allow_readwrite}
354 source_dir, argument
374 destination_dir = source_dir
387 allowed_read_write = self._GetReadWriteFunction(build_config, source_dir)
392 overlay_dir = os.path.join(source_dir, 'overlays', overlay_dir)
396 source_dir, overlay_dirs, destination_dir,
401 path_from = os.path.join(source_dir, path_relative_from)