summaryrefslogtreecommitdiffstats
path: root/update_verifier/care_map_generator.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable fingerprint in care_mapTianjie Xu2018-09-271-10/+29
| | | | | | | | | | Enable the encoding and parsing of the property_id & partition fingerprint by default; and add a flag "--no_fingerprint" to disable the fingerprint generation/parsing to convert the legacy care_map.txt Bug: 114778109 Test: run unittests in add_img_to_target_files Change-Id: Id4216d5954e78c3a2d8e8bf19342109daf66a528
* Add a python binary to generate the protobuf for care_mapTianjie Xu2018-08-171-0/+110
This binary parses the legacy care_map text in the input file and writes the generated protobuf message into the output file. For test purpose, it also has a "--parse_proto" option to reverse the process and convert a protobuf message file into plain text. The build script will then call the binary to generate the care_map.txt in the new format. Bug: 77867897 Test: Run the binary to convert a care_map.txt, run update_verifier Change-Id: I3ca65e19027404806132aa8d51e9bff766630c99