Home
last modified time | relevance | path

Searched refs:source_dir (Results 1 – 6 of 6) sorted by relevance

/tools/treble/build/sandbox/
Doverlay_test.py34 self.source_dir = tempfile.mkdtemp()
36 os.mkdir(os.path.join(self.source_dir, 'base_dir'))
37 os.mkdir(os.path.join(self.source_dir, 'base_dir', 'base_project'))
38 os.mkdir(os.path.join(self.source_dir, 'base_dir', 'base_project', '.git'))
39 os.mkdir(os.path.join(self.source_dir, 'overlays'))
40 os.mkdir(os.path.join(self.source_dir,
42 os.mkdir(os.path.join(self.source_dir,
44 os.mkdir(os.path.join(self.source_dir,
46 os.mkdir(os.path.join(self.source_dir,
48 os.mkdir(os.path.join(self.source_dir,
[all …]
Doverlay.py68 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
[all …]
Dnsjail.py54 source_dir=os.getcwd(), argument
115 source_dir=source_dir,
145 source_dir=os.getcwd(), argument
196 if source_dir:
197 source_dir = os.path.abspath(source_dir)
200 nsjail_bin = os.path.join(source_dir, nsjail_bin)
203 chroot = os.path.join(source_dir, chroot)
234 os.path.dirname(out_dir) == source_dir) and (
244 source_dir,
252 bind_mounts[_SOURCE_MOUNT_POINT] = BindMount(source_dir, False)
[all …]
Dnsjail_test.py33 source_dir='/source_dir',
54 source_dir='/source_dir',
66 source_dir='/source_dir',
82 source_dir='/source_dir',
90 source_dir='/source_dir',
112 source_dir='/source_dir',
133 source_dir='/source_dir',
154 source_dir='/source_dir',
Dbuild_android_sandboxed.py63 source_dir = os.getcwd()
90 source_dir=source_dir,
/tools/external_updater/
Dupdater_utils.py50 def replace_package(source_dir, target_dir) -> None: argument
58 print('Updating {} using {}.'.format(target_dir, source_dir))
61 subprocess.check_call(['bash', script_path, source_dir, target_dir])