make_disk_image: Add support for sparse files.

This is based on code from avbtool.

Bug: 31931311
Test: New unit test and all unit tests pass.
Change-Id: Ib174b42c5843b1eadf07563e6994db962e44e886
5 files changed
tree: 4ca46eb5ea5fa386f735dee4c65cb38ac8988250
  1. Android.mk
  2. README
  3. bpt_test
  4. bpt_unittest.py
  5. bpttool
  6. test/