Merge "Add Respfile support for soong_zip." am: 3bb5f2f2fa am: afe289114a

am: ba85cb38f3

Change-Id: Id6c8ab5f978e406a910ecdc5b13ff804329b21cf
This commit is contained in:
Nan Zhang
2018-02-14 01:35:48 +00:00
committed by android-build-merger
5 changed files with 175 additions and 22 deletions

View File

@@ -123,8 +123,10 @@ var (
jar = pctx.AndroidStaticRule("jar",
blueprint.RuleParams{
Command: `${config.SoongZipCmd} -jar -o $out $jarArgs`,
CommandDeps: []string{"${config.SoongZipCmd}"},
Command: `${config.SoongZipCmd} -jar -o $out @$out.rsp`,
CommandDeps: []string{"${config.SoongZipCmd}"},
Rspfile: "$out.rsp",
RspfileContent: "$jarArgs",
},
"jarArgs")