we use legacycamera due to our hardware so don't build it when legacycamera is built