Home
last modified time | relevance | path

Searched refs:emulateJar (Results 1 – 4 of 4) sorted by relevance

/build/soong/cmd/merge_zips/
Dmerge_zips.go142 emulateJar bool member
150 func NewOutputZip(outputWriter *zip.Writer, sortEntries, emulateJar, stripDirEntries, ignoreDuplica… argument
154 emulateJar: emulateJar,
180 if oz.emulateJar || oz.sortEntries {
248 if oz.emulateJar {
295 (oz.emulateJar && entry.name == jar.ManifestFile || entry.name == jar.ModuleInfoClass) ||
533 sortEntries, emulateJar, emulatePar, stripDirEntries, ignoreDuplicates bool, argument
536 out := NewOutputZip(writer, sortEntries, emulateJar, stripDirEntries, ignoreDuplicates)
577 if !(emulateJar || sortEntries) {
584 if emulateJar {
[all …]
/build/soong/zip/
Dzip.go450 func (z *ZipWriter) write(f io.Writer, pathMappings []pathMapping, manifest string, emulateJar, src…
476 if manifest != "" && !emulateJar {
480 if emulateJar {
492 if emulateJar && ele.dest == jar.ManifestFile {
495 err = z.addFile(ele.dest, ele.src, ele.zipMethod, emulateJar, srcJar)
594 func (z *ZipWriter) addFile(dest, src string, method uint16, emulateJar, srcJar bool) error {
615 if err := z.writeDirectory(filepath.Dir(dest), src, emulateJar); err != nil {
633 return z.writeDirectory(dest, src, emulateJar)
937 func (z *ZipWriter) writeDirectory(dir string, src string, emulateJar bool) error {
964 if emulateJar && cleanDir+"/" == jar.MetaDir {
Dzip_test.go106 emulateJar bool
297 emulateJar: true,
314 emulateJar: true,
419 args.EmulateJar = test.emulateJar
/build/soong/zip/cmd/
Dmain.go135 emulateJar := flags.Bool("jar", false, "modify the resultant .zip to emulate the output of 'jar'")
194 EmulateJar: *emulateJar,