2 # Dump the dependency file (produced with -dependency_info) to text
3 # format for testing purposes.
8 f
= open(sys
.argv
[1], "rb")
12 sys
.stdout
.write("version: ")
14 sys
.stdout
.write("input-file: ")
16 sys
.stdout
.write("not-found: ")
18 sys
.stdout
.write("output-file: ")
20 while byte
!= b
"\x00":
21 sys
.stdout
.write(byte
.decode("ascii"))
23 sys
.stdout
.write("\n")