Merge "Reland "Build and use minadbd as a shared library."" am: 337bd80b78
am: 7785eec4f2

Change-Id: I198839ac58fd4713f1f4e73f096631be7f4e991e