Add support for rsp inputs

... because there can be many many inputs for fsverity manifest
generator.

Bug: 330282551
Test: m aosp_cf_system_x86_64
Change-Id: Ic84205342a07002f2a72a2b412a14e7e01b46af3
This commit is contained in:
Inseob Kim 2024-04-01 11:24:25 +09:00
parent 2fc36745c1
commit 218d48409c

View file

@ -35,7 +35,7 @@ def _digest(fsverity_path, input_file):
return bytes(bytearray.fromhex(out))
if __name__ == '__main__':
p = argparse.ArgumentParser()
p = argparse.ArgumentParser(fromfile_prefix_chars='@')
p.add_argument(
'--output',
help='Path to the output manifest',
@ -52,7 +52,7 @@ if __name__ == '__main__':
'inputs',
nargs='*',
help='input file for the build manifest')
args = p.parse_args(sys.argv[1:])
args = p.parse_args()
digests = FSVerityDigests()
for f in sorted(args.inputs):