diff options
author | 2020-08-19 13:51:47 -0700 | |
---|---|---|
committer | 2020-08-19 21:18:56 +0000 | |
commit | 053fca10c935b50cf803abdcff991ea574f2a2fc (patch) | |
tree | 0bfdba7df03588405a2d73a13b9e18bd39f3b99a /sdk/update.go | |
parent | 2d815963ba597cce3b2401d405d0ed3a7beb5737 (diff) |
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
Diffstat (limited to 'sdk/update.go')
-rw-r--r-- | sdk/update.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdk/update.go b/sdk/update.go index 936696a01..537ab13cb 100644 --- a/sdk/update.go +++ b/sdk/update.go @@ -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}", }, |