Adapt build ga to the layersconfig structure