display: don't build for legacy

Change-Id: Ia1addf87f27e523daf20443cbca69ef9e4a2e51e