Lines Matching refs:Path
20 from pathlib import Path
37 def copy_file(src: Path, dst: Path) -> None: argument
48 build_dir: Path, argument
49 install_dir: Path, argument
50 prebuilts_dir: Path, argument
51 clang_dir: Path, argument
61 cargo_path = Path(env["HOME"]) / ".cargo" / "bin"
119 build_dir: Path | None,
163 build_dir: Path | None = None,
203 def __init__(self, build_dir: Path, top_dir: Path, target_arch: Architecture): argument
233 def build_dir(self) -> Path:
237 def install_dir(self) -> Path:
241 def prebuilts_dir(self) -> Path:
245 def clang_dir(self) -> Path:
249 def sysroot_dir(self) -> Path:
253 def third_party_dir(self) -> Path:
266 def env_with_DESTDIR(self, dest_dir: Path | None = None) -> Dict[str, str]:
273 def make_subdir(self, subdir: Path) -> Path: argument
281 args: Sequence[Path | str],
282 sub_build_dir: Path | None = None,
294 self, sub_build_dir: Path | None = None, extra_args: List[str] = []
301 sub_build_dir: Path | None = None,
303 dest_dir: Path | None = None,
314 def copy_file(self, src_path: Path, dst_path: Path): argument
322 def copy_dir(self, src_dir: Path, dst_dir: Path): argument
481 build.copy_file(Path(f"/lib/aarch64-linux-gnu/{lib}"), dst_dir / lib)
527 build_dir = build.make_subdir(Path("bzip2"))
553 build_dir = build.make_subdir(Path("pkg-config"))
582 build_dir = build.make_subdir(Path("patchelf"))
601 build_dir = build.make_subdir(Path(lib_name))
629 build_dir = build.make_subdir(Path("pcre"))
644 build_dir = build.make_subdir(Path("libffi"))
669 build_dir = build.make_subdir(Path("glib"))
702 build_dir = build.make_subdir(Path("pixman"))
740 build_dir = build.make_subdir(Path("libslirp"))
762 dir_name = Path("googletest")
780 dir_name = Path("aemu")
801 dir_name = Path("flatbuffers")
818 dir_name = Path("libpciaccess")
853 dir_name = Path("libdrm")
906 dir_name = Path("gfxstream")
940 out_dir = build.make_subdir(Path("rutabaga"))
949 cargo_path = Path(os.environ["HOME"]) / ".cargo" / "bin"
1002 Path(f"/usr/lib/{build.target_arch.value}-linux-gnu/libgbm.so.1"),
1006 Path(f"/usr/lib/{build.target_arch.value}-linux-gnu/libgbm.so"),
1010 Path(f"/usr/lib/{build.target_arch.value}-linux-gnu/libgbm.so.1.0.0"),
1014 Path(f"/usr/lib/{build.target_arch.value}-linux-gnu/pkgconfig/gbm.pc"),
1018 Path("/usr/include/gbm.h"), build.install_dir / "usr/include/gbm.h"
1030 build_dir = build.make_subdir(Path("libepoxy"))
1069 build_dir = build.make_subdir(Path("virglrenderer"))
1092 build_dir = build.make_subdir(Path("dtc"))
1131 build_dir = build.make_subdir(Path("qemu"))
1150 cmd_args: List[str | Path] = [
1184 package_dir = build.make_subdir(Path("qemu-portable"))
1277 build_dir = Path(args.build_dir)
1279 top_dir = Path(os.path.dirname(__file__)).parent