Lines Matching refs:in_dir
207 def BuildImage(in_dir, prop_dict, out_file, target_out=None): argument
221 origin_in = in_dir
225 in_dir = tempfile.mkdtemp()
267 build_command.extend([in_dir, out_file, fs_type,
285 build_command.extend([in_dir, out_file])
303 build_command.append(in_dir)
309 if in_dir != origin_in:
313 shutil.rmtree(in_dir)
314 shutil.copytree(ramdisk_dir, in_dir, symlinks=True)
315 staging_system = os.path.join(in_dir, "system")
328 if in_dir != origin_in:
330 shutil.rmtree(in_dir, ignore_errors=True)
479 in_dir = argv[0]
508 if not BuildImage(in_dir, image_properties, out_file, target_out):
510 in_dir)