Mostly based on the protobuf based implementation from Mir.
Just meant for integration testing. Built library is not meant to be installed or shipped. This has to happen as part of the Android build.