In a gps receiver, how is the delay of the signal in the antenna lead allowed for?
Typically they have short or no leads - but note that a uniform extra delay through the system isn't a problem, it just means that the GPS tells you where the antenna is not where the decoder is.

This is magnified in situations where GPS is re-broadcast indoors. Again, it gives you the location of the external antenna not the decoder.