Support ninja rsp files in soong_zip
Add a -r argument to soong_zip that reads a list of files from a file like the -l argument but treats it as a Ninja rsp file with escaping. Replace the -l arguments in Soong that are using rsp files with -r. Fixes: 162435077 Test: TestReadRespFile, TestZip Change-Id: I4605312e99406ab1bd0c37af9c5ad212393f0403
This commit is contained in:
@@ -43,7 +43,7 @@ var (
|
||||
|
||||
zipFiles = pctx.AndroidStaticRule("SnapshotZipFiles",
|
||||
blueprint.RuleParams{
|
||||
Command: `${config.SoongZipCmd} -C $basedir -l $out.rsp -o $out`,
|
||||
Command: `${config.SoongZipCmd} -C $basedir -r $out.rsp -o $out`,
|
||||
CommandDeps: []string{
|
||||
"${config.SoongZipCmd}",
|
||||
},
|
||||
|
Reference in New Issue
Block a user