Home | History | Annotate | Download | only in releasetools

Lines Matching refs:in_dir

445 def BuildImage(in_dir, prop_dict, out_file, target_out=None):
446 """Build an image to out_file from in_dir with property prop_dict.
449 in_dir: path of input directory.
460 origin_in = in_dir
464 in_dir = common.MakeTempDir()
527 build_command.extend([in_dir, out_file, fs_type,
566 build_command.extend([in_dir, out_file])
591 build_command.extend(["-f", in_dir])
604 if in_dir != origin_in:
608 shutil.rmtree(in_dir)
609 shutil.copytree(ramdisk_dir, in_dir, symlinks=True)
610 staging_system = os.path.join(in_dir, "system")
852 in_dir = argv[0]
885 if not BuildImage(in_dir, image_properties, out_file, target_out):
886 print("error: failed to build %s from %s" % (out_file, in_dir),