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

Change-Id: I9c63a13fc65a327ebbcbc50464620b1bf7cfd05c