summaryrefslogtreecommitdiffstats
path: root/update_verifier/care_map_generator.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update caremap to by py3 compatibleKelvin Zhang2021-10-131-2/+2
| | | | | | | Py3 doesn't mix bytes/str, so be explicit about which one Test: th Change-Id: Ia091b8378da93f19c3eb7c944199163aa9c63de7
* Switch care_map_generator.py to Python 3.Krzysztof KosiƄski2021-02-251-3/+3
| | | | | | | | This is the last remaining use of the python-symbol library from Python 2. Test: Ran 2to3 on the script, no changes reported. Change-Id: I9c8bf4840eaf1832cabc4b6af831f5c2de554d4f
* 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