Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce482dce authored by Paul Duffin's avatar Paul Duffin
Browse files

Exclude META-INF/ from repackaged source jar in snapshot

Prevents the META-INF/MANIFEST.MF file from the source jar from being
copied to the snapshot zip file.

Bug: 143678475
Test: m conscrypt-module-sdk
      manually check contents of generated zip

Change-Id: I6eca1435dfc25b562e49de46b049fa81cf8daf90
parent 32fc94d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ var pctx = android.NewPackageContext("android/soong/sdk")
var (
	repackageZip = pctx.AndroidStaticRule("SnapshotRepackageZip",
		blueprint.RuleParams{
			Command: `${config.Zip2ZipCmd} -i $in -o $out "**/*:$destdir"`,
			Command: `${config.Zip2ZipCmd} -i $in -o $out -x META-INF/**/* "**/*:$destdir"`,
			CommandDeps: []string{
				"${config.Zip2ZipCmd}",
			},