Searched refs:package_dir (Results 1 – 6 of 6) sorted by relevance
/development/tools/cargo_embargo/src/cargo/ |
D | cargo_out.rs | 68 if !c.package_dir.starts_with(&base_directory) { in parse_cargo_out_str() 343 (out.package_dir, out.main_src) = split_src_path(Path::new(arg))?; in from_rustc_invocation() 401 let manifest_path = out.package_dir.join("Cargo.toml"); in from_rustc_invocation() 441 let package_dir = find_cargo_toml(&src_path)?; in split_src_path() localVariable 442 let main_src = src_path.strip_prefix(&package_dir).unwrap().to_path_buf(); in split_src_path() 444 Ok((package_dir, main_src)) in split_src_path() 450 let mut package_dir = src_path.parent().unwrap(); in find_cargo_toml() localVariable 451 while !package_dir.join("Cargo.toml").try_exists()? { in find_cargo_toml() 452 package_dir = package_dir in find_cargo_toml() 456 Ok(package_dir.to_path_buf()) in find_cargo_toml()
|
D | metadata.rs | 128 let package_dir = package_dir_from_id(&package.id)?; in parse_cargo_metadata() localVariable 152 let main_src = split_src_path(&target.src_path, &package_dir); in parse_cargo_metadata() 172 package_dir: package_dir.clone(), in parse_cargo_metadata() 196 package_dir: package_dir.clone(), in parse_cargo_metadata() 302 fn split_src_path<'a>(src_path: &'a Path, package_dir: &Path) -> &'a Path { in split_src_path() 303 if let Ok(main_src) = src_path.strip_prefix(package_dir) { in split_src_path() 676 let package_dir = c.package_dir.to_str().unwrap(); in parse_metadata() localVariable 677 if let Some(idx) = package_dir.find(EXTERNAL_RUST_CRATES) { in parse_metadata() 678 c.package_dir = PathBuf::from(format!(".../{}", &package_dir[idx..])); in parse_metadata()
|
/development/python-packages/fastboot/ |
D | setup.py | 25 package_dir={'fastboot': ''},
|
/development/tools/cargo_embargo/src/ |
D | main.rs | 391 .entry(c.package_dir.clone()) in group_by_package() 411 for (package_dir, crates) in module_by_package { in write_all_build_files() 416 package_dir, in write_all_build_files() 598 package_dir: PathBuf, in write_build_files() 614 let out_dir = package_dir.join("out"); in write_build_files() 653 let output_path = package_dir.join("Android.bp"); in write_build_files() 664 let output_path = package_dir.join("rules.mk"); in write_build_files() 1195 Crate { name: "main_v1".to_string(), package_dir: "main".into(), ..Default::default() }; in group_variants_by_package() 1198 package_dir: "main".into(), in group_variants_by_package() 1203 package_dir: "other".into(), in group_variants_by_package() [all …]
|
D | cargo.rs | 94 pub package_dir: PathBuf, // canonicalized field
|
/development/tools/cargo_embargo/testdata/ |
D | README.md | 30 - `crates.json`: Adjust version numbers and `package_dir` as necessary.
|