/build/indep_configs/scripts/ |
H A D | variants_info_handler.py | 19 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 D | parse_public_sdk.py | 19 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 D | convert_permissions.py | 17 import shutil namespace 31 shutil.copytree(source, dest) 38 shutil.copytree(source, dest) 62 shutil.copyfile(source, dest)
|
/build/scripts/ |
H A D | asan_backup.py | 19 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 D | copy_ex.py | 12 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 D | code_release.py | 18 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 D | collect_publicity.py | 19 import shutil namespace 49 shutil.copy2(options.source, options.output)
|
H A D | merge_notice.py | 19 import shutil namespace 30 shutil.move(ohos_notice, a_notice)
|
H A D | compile_resources.py | 19 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 D | copy_files.py | 21 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 D | archive_ndk.py | 21 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 D | backup_restore_artifact.py | 19 import shutil namespace 48 shutil.move(asan_symbols_path, asan_symbols_backup_path) 52 shutil.move(source, output_path)
|
H A D | modules_install.py | 19 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 D | system_z_package.py | 19 import shutil namespace 38 shutil.rmtree(_dest) 39 shutil.copytree(_file, _dest) 41 shutil.copy2(_file, _dest)
|
H A D | resources_collect.py | 19 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 D | collect_system_notice_files.py | 19 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 D | mkimages.py | 20 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 D | clean_args_resolver.py | 20 import shutil namespace 50 shutil.rmtree(config.out_path) 58 shutil.rmtree(DEFAULT_CCACHE_DIR)
|
/build/templates/bpf/ |
H A D | gen_bpf_uapi.py | 19 import shutil namespace 32 shutil.copytree(options.kernel_tools_dir, make_tools_inc_dir)
|
/build/ohos/testfwk/ |
H A D | test_js_file_copy.py | 20 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 D | fuzz_config_file_copy.py | 19 import shutil namespace 28 shutil.copytree(source, destination, dirs_exist_ok=True)
|
H A D | test_js_stage_file_copy.py | 20 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 D | build_image.py | 18 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 D | delete_symbol.py | 17 import shutil namespace 24 shutil.copy(args.input, args.output)
|
/build/toolchain/ |
H A D | wrapper_utils.py | 13 import shutil namespace 30 shutil.copyfileobj(f_in, f_out)
|