Add server library build rules for both host and target

Bug: 157603385
Test: build and create Acloud local instance
Change-Id: I80951eb4192360c62a5f72902d20e2dee84d97ad
2 files changed