add snappy support

N/A

Change-Id: I91101b349e1eac84b5e59939ac34aaad70d4a72d
Signed-off-by: liuhuahang <liuhuahang@zerus.co>