summaryrefslogtreecommitdiffstats
path: root/updater/target_files.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement the TargetFile and BuildInfoTianjie Xu2019-06-011-5/+261
| | | | | | | | | | | The TargetFile class parses a target-file and provides functions to read its contents. And the BuildInfo tries to simulate the device with files on host. Some work it does includes parsing the build properties, and extracting the image files for partitions specified in the fstab. Bug: 131911365 Test: unit tests pass, run simulator with cuttlefish, wear devices and from extracted TF. Change-Id: Iefe4a96d619d2e4b3d038e31480f11a0f9a70afa
* Implement an update simulator to verify BB OTA packages on hostTianjie Xu2019-05-291-0/+26
Implement the simulator runtime and build the updater simulator as a host executable. The code to parse the target-files and mocks the block devices will be submitted in the follow-up. Bug: 131911365 Test: unit tests pass Change-Id: Ib1ba939aec8333ca68a45139514d772ad7a27ad8