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:
@@ -68,7 +68,7 @@ func robolectricTestSuite(ctx SingletonContext, files map[string]InstallPaths) W
|
||||
FlagWithOutput("-o ", outputFile).
|
||||
FlagWithArg("-P ", "host/testcases").
|
||||
FlagWithArg("-C ", testCasesDir.String()).
|
||||
FlagWithRspFileInputList("-l ", installedPaths.Paths())
|
||||
FlagWithRspFileInputList("-r ", installedPaths.Paths())
|
||||
rule.Build(pctx, ctx, "robolectric_tests_zip", "robolectric-tests.zip")
|
||||
|
||||
return outputFile
|
||||
|
Reference in New Issue
Block a user