g2-common: common dependencies

Change-Id: Ic06fc736c7443c877565e07ab64fbe16b02f52fb