Home
last modified time | relevance | path

Searched refs:target_file (Results 1 – 15 of 15) sorted by relevance

/build/make/tools/releasetools/
Dota_from_target_files.py483 target_file = common.MakeTempFile(prefix="targetfiles-", suffix=".zip")
484 target_zip = zipfile.ZipFile(target_file, 'w', allowZip64=True)
534 return target_file
580 target_file = common.MakeTempFile(prefix="targetfiles-", suffix=".zip")
581 shutil.copyfile(input_file, target_file)
582 common.ZipDelete(target_file, DYNAMIC_PARTITION_INFO)
587 with zipfile.ZipFile(target_file, "a", allowZip64=True) as output_zip:
589 return target_file
815 def SupportsMainlineGkiUpdates(target_file): argument
828 if target_file is None:
[all …]
Dtest_ota_from_target_files.py330 target_file = self.construct_tf_with_apex_info(infos)
332 with zipfile.ZipFile(target_file) as target_zip:
333 info_bytes = ConstructOtaApexInfo(target_zip, source_file=target_file)
491 target_file = GetTargetFilesZipForSecondaryImages(input_file)
493 with zipfile.ZipFile(target_file) as verify_zip:
513 target_file = GetTargetFilesZipForSecondaryImages(
516 with zipfile.ZipFile(target_file) as verify_zip:
534 target_file = GetTargetFilesZipForSecondaryImages(input_file)
536 with zipfile.ZipFile(target_file) as verify_zip:
571 target_file = GetTargetFilesZipForSecondaryImages(input_file)
[all …]
Dnon_ab_ota.py541 def GenerateNonAbOtaPackage(target_file, output_file, source_file=None): argument
561 if not os.path.isdir(target_file):
563 OPTIONS.input_tmp = common.UnzipTemp(target_file, UNZIP_PATTERN)
565 OPTIONS.input_tmp = target_file
569 ["zip", tmpfile, "-r", ".", "-0"], cwd=target_file)
571 target_file = tmpfile
593 with zipfile.ZipFile(target_file) as input_zip:
603 with zipfile.ZipFile(target_file) as input_zip, \
Dota_utils.py720 def IsLz4diffCompatible(source_file: str, target_file: str):
730 if source_file is None or target_file is None:
742 def IsZucchiniCompatible(source_file: str, target_file: str):
752 if source_file is None or target_file is None:
755 assert os.path.exists(target_file)
758 assert zipfile.is_zipfile(target_file) or os.path.isdir(target_file)
774 targetEntry = ReadEntry(target_file, _ZUCCHINI_CONFIG_ENTRY_NAME)
857 def Generate(self, target_file, source_file=None, additional_args=None): argument
871 target_dir = ExtractTargetFiles(target_file)
/build/bazel/scripts/difftool/
Ddifftool.py241 target_file = None
244 target_file = info_contents[1]
246 return ninja_path, target_file
/build/bazel/rules/apex/
Dapex_aab.bzl121 target_file = python_interpreter,
130 target_file = bundle_file,
149 target_file = ctx.executable._debugfs,
155 target_file = ctx.executable._fsck_erofs,
161 target_file = ctx.attr._signapk_jar.files.to_list()[0],
167 target_file = ctx.attr._libconscrypt_openjdk_jni.files.to_list()[1],
/build/bazel/rules/cc/
Dcc_prebuilt_binary.bzl28 target_file = ctx.files.src[0],
Dversioned_cc_common.bzl28 target_file = ctx.files.src[0],
Dstripped_cc_common.bzl74 target_file = file,
/build/bazel/rules/partitions/
Dpartition.bzl42 target_file = python_interpreter,
57 target_file = toolchain.toybox[DefaultInfo].files_to_run.executable,
63 target_file = toolchain.toybox[DefaultInfo].files_to_run.executable,
/build/bazel/rules/android/
Dandroid_library.bzl89 target_file = ctx.attr.exports[0][AndroidIdeInfo].aar,
/build/bazel/toolchains/rust/bootstrap/
Ddefs.bzl101 ctx.actions.symlink(output = out, target_file = inp)
/build/bazel/rules/
Dproto_file_utils.bzl67 target_file = jar_file,
/build/bazel/rules/aidl/
Daidl_library.bzl45 target_file = src,
/build/bazel/rules/tradefed/
Dtradefed.bzl386 target_file = out,