Lines Matching refs:path
221 if (not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK) or
222 not os.access(os.path.join(sourcedir, "kernel"), os.F_OK)):
232 cmd = ["mkbootfs", "-f", fs_config_file, os.path.join(sourcedir, "RAMDISK")]
234 cmd = ["mkbootfs", os.path.join(sourcedir, "RAMDISK")]
244 cmd = ["mkbootimg", "--kernel", os.path.join(sourcedir, "kernel")]
246 fn = os.path.join(sourcedir, "cmdline")
251 fn = os.path.join(sourcedir, "base")
256 fn = os.path.join(sourcedir, "pagesize")
271 os.path.basename(sourcedir),)
289 prebuilt_path = os.path.join(unpack_dir, "BOOTABLE_IMAGES", prebuilt_name)
290 if os.path.exists(prebuilt_path):
296 return File(name, BuildBootableImage(os.path.join(unpack_dir, tree_subdir),
297 os.path.join(unpack_dir, fs_config),
327 unzip_to_dir(m.group(2), os.path.join(tmp, "BOOTABLE_IMAGES"))
390 os.path.join(OPTIONS.search_path, "framework", "signapk.jar")]
469 -p (--path) <dir>
506 ["help", "verbose", "path=", "device_specific=", "extra="] +
521 elif o in ("-p", "--path"):
532 os.environ["PATH"] = (os.path.join(OPTIONS.search_path, "bin") +
540 if os.path.isdir(i):
665 path = OPTIONS.device_specific
666 if not path: return
668 if os.path.isdir(path):
669 info = imp.find_module("releasetools", [path])
671 d, f = os.path.split(path)
672 b, x = os.path.splitext(f)
782 ext = os.path.splitext(tf.name)[1]
788 ext = os.path.splitext(tf.name)[1]