Because virtualization service makes a microdroid payload disk image,
we don't need mk_payload any longer. But having a host tool might be
helpful for other uses. For example, ARCVM can use this tool for its own
use.
example_config.json:
{
"apexes": [
{ "name": "com.android.foo",
"path": "path/to/com.android.foo.apex" },
...
}
Bug: 189242583
Test: mk_payload example_config.json payload.img
Change-Id: I8d04701ed27782ddebb28449ba75e089309ec4c8
/dev/block/by-name/metadata is used by others as well.
Renamed it as payload-metadata.
Bug: 191097666
Test: MicrodroidHostTestCases
Change-Id: I873ee2acbe38772e59c96b3904023ac0d1573621