Merge "Revert "Build and use minadbd as a shared library."" am: 08cf9ccb2f
am: 60e218cb5e

Change-Id: Icd65d8a26f5e619f3ce08727ca673cc4a65a0570