Home
last modified time | relevance | path

Searched refs:shutil (Results 1 - 25 of 70) sorted by relevance

123

/build/indep_configs/scripts/
H A Dvariants_info_handler.py19 import shutil namespace
63 shutil.copy(system_capability_file, etc_out_path)
64 shutil.copy(syscap_json_file, etc_out_path)
65 shutil.copy(syscap_para_file, syscap_para_out_path)
66 shutil.copy(features_file, variants_out_path)
67 shutil.copy(build_file, variants_out_path)
68 shutil.copy(paths_config_file, variants_out_path)
/build/ohos/sdk/
H A Dparse_public_sdk.py19 import shutil namespace
44 shutil.rmtree(dest)
45 shutil.copytree(source, dest)
51 shutil.rmtree(dest)
53 shutil.copytree(source, dest)
59 shutil.rmtree(dest)
61 shutil.copytree(source, dest)
67 shutil.rmtree(dest)
69 shutil.copytree(source, dest)
H A Dconvert_permissions.py17 import shutil namespace
31 shutil.copytree(source, dest)
38 shutil.copytree(source, dest)
62 shutil.copyfile(source, dest)
/build/scripts/
H A Dasan_backup.py19 import shutil namespace
46 shutil.rmtree(_dir)
63 shutil.rmtree(args.backup_dest_dir)
68 shutil.copytree(args.backup_dir, _dest_dir)
74 shutil.rmtree(_dir)
H A Dcopy_ex.py12 import shutil namespace
62 shutil.copymode(srcname, destname, follow_symlinks=False)
72 shutil.copy(item, destname)
73 shutil.copymode(item, destname)
79 shutil.copymode(srcname, destname, follow_symlinks=False)
88 shutil.copy(item, destname)
89 shutil.copymode(item, destname)
92 shutil.copymode(srcname, destname, follow_symlinks=False)
99 shutil.copy(item, destname)
100 shutil
[all...]
H A Dcode_release.py18 import shutil namespace
41 shutil.rmtree(dst_dir)
42 shutil.copytree(src_dir,
45 ignore=shutil.ignore_patterns('*.pyc', 'tmp*', '.git*'))
138 shutil.rmtree(package_dir)
H A Dcollect_publicity.py19 import shutil namespace
49 shutil.copy2(options.source, options.output)
H A Dmerge_notice.py19 import shutil namespace
30 shutil.move(ohos_notice, a_notice)
H A Dcompile_resources.py19 import shutil namespace
62 shutil.rmtree(gen_dir)
69 shutil.copytree(os.path.dirname(directory), dest_res_dir)
87 shutil.copy(generated_header_file, options.output_header_file)
/build/lite/
H A Dcopy_files.py21 import shutil namespace
35 shutil.copytree(src_path, dst_path, symlinks)
40 shutil.copy2(src_path, dst_path)
65 shutil.copy(args.src, out_dir)
/build/lite/ndk/
H A Darchive_ndk.py21 import shutil namespace
34 shutil.make_archive(name, file_format, archive_from, archive_to)
35 shutil.move('%s.%s' % (name, file_format), destination)
64 shutil.rmtree(dest)
/build/ohos/packages/
H A Dbackup_restore_artifact.py19 import shutil namespace
48 shutil.move(asan_symbols_path, asan_symbols_backup_path)
52 shutil.move(source, output_path)
H A Dmodules_install.py19 import shutil namespace
96 shutil.copy(source, os.path.join(platform_installed_path, system_path))
129 shutil.copy2(os.path.join(source, filename),
132 shutil.copytree(source, os.path.join(platform_installed_path, dest), dirs_exist_ok=True)
134 shutil.copy2(source, os.path.join(platform_installed_path, dest))
220 shutil.rmtree(system_install_base_dir)
227 shutil.rmtree(vendor_install_base_dir)
233 shutil.rmtree(eng_system_install_base_dir)
239 shutil.rmtree(eng_chipset_install_base_dir)
245 shutil
[all...]
H A Dsystem_z_package.py19 import shutil namespace
38 shutil.rmtree(_dest)
39 shutil.copytree(_file, _dest)
41 shutil.copy2(_file, _dest)
H A Dresources_collect.py19 import shutil namespace
59 shutil.rmtree(dest_dir)
60 shutil.copytree(_variant_dir, dest_dir)
85 shutil.rmtree(dest_dir)
86 shutil.copytree(_variant_dir, dest_dir)
116 shutil.rmtree(dest_dir)
117 shutil.copytree(_variant_dir, dest_dir)
/build/ohos/notice/
H A Dcollect_system_notice_files.py19 import shutil namespace
56 shutil.copyfile(module_info['notice'], dest)
60 shutil.copyfile("{}.json".format(module_info['notice']), "{}.json".format(dest))
68 shutil.copyfile(file, dest)
71 shutil.copyfile("{}.json".format(file), "{}.json".format(dest))
/build/ohos/images/mkimage/
H A Dmkimages.py20 import shutil namespace
44 shutil.rmtree(tmp_dir)
45 shutil.copytree(root_dir, tmp_dir, symlinks=True)
47 shutil.rmtree(tmp_dir_system, ignore_errors=True)
48 shutil.copytree(src_dir, tmp_dir_system, symlinks=True)
99 shutil.rmtree(src_dir)
/build/hb/resolver/
H A Dclean_args_resolver.py20 import shutil namespace
50 shutil.rmtree(config.out_path)
58 shutil.rmtree(DEFAULT_CCACHE_DIR)
/build/templates/bpf/
H A Dgen_bpf_uapi.py19 import shutil namespace
32 shutil.copytree(options.kernel_tools_dir, make_tools_inc_dir)
/build/ohos/testfwk/
H A Dtest_js_file_copy.py20 import shutil namespace
37 shutil.rmtree(target_path)
39 shutil.copytree(template_path, os.path.join(target_path, "src"))
50 shutil.copy2(file, js_dest_path)
H A Dfuzz_config_file_copy.py19 import shutil namespace
28 shutil.copytree(source, destination, dirs_exist_ok=True)
H A Dtest_js_stage_file_copy.py20 import shutil namespace
45 shutil.copy2(os.path.join(project_path, "Test.json"),
78 shutil.copy2(final_hap_path, archive_testfile_dir)
79 shutil.copy2(final_hap_path + ".md5.stamp", archive_testfile_dir)
/build/ohos/images/
H A Dbuild_image.py18 import shutil namespace
32 shutil.rmtree(userdata_path)
39 shutil.rmtree(root_dir)
94 shutil.rmtree(eng_system_path)
102 shutil.rmtree(_path)
108 shutil.rmtree(_path)
112 shutil.rmtree(_target_policy_path)
124 shutil.copy(sources_file, dest_file)
/build/templates/common/
H A Ddelete_symbol.py17 import shutil namespace
24 shutil.copy(args.input, args.output)
/build/toolchain/
H A Dwrapper_utils.py13 import shutil namespace
30 shutil.copyfileobj(f_in, f_out)

Completed in 6 milliseconds

123