Convert soong java from soong_zip to jar
soong_zip produces jar files that are not compatible with java's ZipInputStream. Switch to jar using ugly sed scripts to munge file lists into the alternating -C and file arguments required by jar. Bug: 64536066 Test: m -j checkbuild Test: build/soong/scripts/jar_args.sh --test Change-Id: Ifcc4bdab25e7d02342720eb246c673ff9a58bddb
This commit is contained in:
@@ -63,7 +63,7 @@ func ResourceDirsToJarSpecs(ctx android.ModuleContext, resourceDirs, excludeDirs
|
||||
|
||||
pattern := filepath.Join(dir.String(), "**/*")
|
||||
bootstrap.GlobFile(ctx, pattern, excludes, fileListFile.String(), depFile)
|
||||
jarSpecs = append(jarSpecs, jarSpec{fileListFile, dir})
|
||||
jarSpecs = append(jarSpecs, TransformFileListToJarSpec(ctx, dir, fileListFile))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user