Lines Matching refs:source_dir
72 conflict_path = bind_mount.source_dir
76 path_in_source = os.path.join(bind_mount.source_dir, relative_path)
85 def _AddOverlay(self, source_dir, overlay_dir, intermediate_work_dir, argument
133 os.path.relpath(current_dir_origin, source_dir) in allowed_projects):
207 def _AddArtifactDirectories(self, source_dir, destination_dir, skip_subdirs): argument
221 main_out_dir = os.path.join(source_dir, 'out')
225 for subdir in os.listdir(source_dir):
227 out_origin = os.path.join(source_dir, subdir)
234 repo_origin = os.path.join(source_dir, '.repo')
243 def _AddOverlays(self, source_dir, overlay_dirs, destination_dir, argument
267 overlay_dirs.append(source_dir)
269 skip_subdirs = self._AddArtifactDirectories(source_dir, destination_dir,
283 skip_subdirs.add(os.path.join(source_dir, 'overlays'))
286 self._AddOverlay(source_dir, overlay_dir, intermediate_work_dir,
293 source_dir, argument
314 % (source_dir, destination_dir, conflict_path))
319 source_dir=source_dir,
347 def _GetReadWriteFunction(self, build_config, source_dir): argument
363 rw_allowlist = {os.path.join(source_dir, p) for p in build_config.allow_readwrite}
370 def _GetContainsReadWriteFunction(self, build_config, source_dir): argument
390 contains_rw.add(os.path.join(source_dir, path))
439 source_dir, argument
459 destination_dir = source_dir
472 allowed_read_write = self._GetReadWriteFunction(build_config, source_dir)
473 contains_read_write = self._GetContainsReadWriteFunction(build_config, source_dir)
479 overlay_dir = os.path.join(source_dir, 'overlays', overlay.name)
483 source_dir, overlay_dirs, destination_dir,
489 path_from = os.path.join(source_dir, path_relative_from)