move gonk related code out of gecko