rotation lib for camhal

Change-Id: Ib8364ab2651a1226ecafedd24e5a91d0ccee0e21