Home
last modified time | relevance | path

Searched refs:zip_file (Results 1 – 6 of 6) sorted by relevance

/build/ohos/sdk/
Dadd_notice_file.py45 with zipfile.ZipFile(archive, 'a') as zip_file, open(
47 if not zip_file.namelist():
49 dirname = zip_file.namelist()[0].split('/')[0]
52 if arcname in zip_file.namelist():
57 zip_file.writestr(zip_info,
Dcheck_sdk_completeness.py69 zip_file = zipfile.ZipFile(archive_file, 'r')
72 zip_file_namelist = zip_file.namelist()
73 for zip_file in zip_file_namelist:
74 zip_file_path.append(os.path.join(sdk_package_path, zip_file))
/build/ohos/notice/
Dmerge_notice_files.py185 def handle_zipfile_notices(zip_file: str):
186 notice_file = '{}.txt'.format(zip_file[:-4])
188 build_utils.extract_all(zip_file, tmp_dir, no_clobber=False)
225 for zip_file in args.collected_notice_zipfile:
226 build_utils.extract_all(zip_file, notice_dir, no_clobber=False)
/build/ohos/ndk/
Darchive_ndk.py72 with zipfile.ZipFile(output, 'a') as zip_file:
78 build_utils.add_to_zip_hermetic(zip_file,
/build/scripts/util/
Dbuild_utils.py284 def _is_symlink(zip_file, name): argument
285 zi = zip_file.getinfo(name)
334 def add_to_zip_hermetic(zip_file, argument
359 zip_file.writestr(zipinfo, os.readlink(src_path))
381 compress_type = zip_file.compression
386 zip_file.writestr(zipinfo, data, compress_type, compress_level)
Dmd5_check.py439 with zipfile.ZipFile(path) as zip_file:
440 for zip_info in zip_file.infolist():