Merge "Delete aapt2 generated java files after creating srcjars" into main

This commit is contained in:
Colin Cross 2023-08-03 18:57:24 +00:00 committed by Gerrit Code Review
commit 482ccfab04

View file

@ -150,7 +150,8 @@ var aapt2LinkRule = pctx.AndroidStaticRule("aapt2Link",
`${config.Aapt2Cmd} link -o $out $flags --java $genDir --proguard $proguardOptions ` +
`--output-text-symbols ${rTxt} $inFlags && ` +
`${config.SoongZipCmd} -write_if_changed -jar -o $genJar -C $genDir -D $genDir &&` +
`${config.ExtractJarPackagesCmd} -i $genJar -o $extraPackages --prefix '--extra-packages '`,
`${config.ExtractJarPackagesCmd} -i $genJar -o $extraPackages --prefix '--extra-packages ' && ` +
`rm -rf $genDir`,
CommandDeps: []string{
"${config.Aapt2Cmd}",