gps:import from d2-common (temporary) :-<

Change-Id: Ibce956e938b17e696c0dc93f075759a912f1ac5a