[4/n] Static link the ring_buffer api

Bug: 177241396

Change-Id: Id89e005ea3329eb9c140e61d91588bafa5065dbb
5 files changed