customsdkgen: update to API 321

Change-Id: Ic1dbf25b7cd2d9e1a63d70301b61a98d75a717dc