Lines Matching refs:clone

358                             .push(path.clone());  in run_embargo()
368 let mut cfg_no_cargo = cfg.clone(); in run_embargo()
391 .entry(c.package_dir.clone()) in group_by_package()
491 v.push(x.clone()); in generate_cargo_out()
528 .envs(envs.clone()) in generate_cargo_out()
541 .envs(envs.clone()) in generate_cargo_out()
707 m.props.set("name", module_name.clone()); in generate_android_bp()
859 CrateType::Bin => ("rust_binary".to_string() + host, crate_.name.clone()), in crate_to_bp_modules()
883 let stem = crate_.package_name.clone() + "_test_" + &suffix; in crate_to_bp_modules()
898 let mut m = BpModule::new(module_type.clone()); in crate_to_bp_modules()
918 m.props.set("name", module_name.clone()); in crate_to_bp_modules()
921 m.props.set("defaults", vec![defaults.clone()]); in crate_to_bp_modules()
935 m.props.set_if_nonempty("include_dirs", package_cfg.exported_c_header_dir.clone()); in crate_to_bp_modules()
938 m.props.set("crate_name", crate_.name.clone()); in crate_to_bp_modules()
942 m.props.set("cargo_pkg_version", version.clone()); in crate_to_bp_modules()
953 m.props.set("crate_root", crate_.main_src.clone()); in crate_to_bp_modules()
956 m.props.set("edition", crate_.edition.clone()); in crate_to_bp_modules()
957 m.props.set_if_nonempty("features", crate_.features.clone()); in crate_to_bp_modules()
962 .clone() in crate_to_bp_modules()
970 flags.push(crate_.cap_lints.clone()); in crate_to_bp_modules()
980 ExternType::Rust => rust_libs.push(extern_dep.lib_name.clone()), in crate_to_bp_modules()
981 ExternType::ProcMacro => proc_macro_libs.push(extern_dep.lib_name.clone()), in crate_to_bp_modules()
1008 let (whole_static_libs, static_libs) = process_lib_deps(crate_.static_libs.clone()) in crate_to_bp_modules()
1013 m.props.set_if_nonempty("shared_libs", process_lib_deps(crate_.shared_libs.clone())); in crate_to_bp_modules()
1038 m.props.set_if_nonempty("apex_available", cfg.apex_available.clone()); in crate_to_bp_modules()
1040 m.props.set("min_sdk_version", min_sdk_version.clone()); in crate_to_bp_modules()
1048 m.props.set("data", data.clone()); in crate_to_bp_modules()
1062 m.props.set("visibility", visibility.clone()); in crate_to_bp_modules()
1121 let mut library_deps: Vec<_> = crate_.externs.iter().map(|dep| dep.lib_name.clone()).collect(); in crate_to_rulesmk()
1135 flags.push(crate_.cap_lints.clone()); in crate_to_rulesmk()
1211 vec![main_v1.clone(), main_v1_tests.clone(), other_v1.clone()], in group_variants_by_package()
1212 vec![main_v2.clone(), some_v2.clone()], in group_variants_by_package()