Homogenization of some problems with gradient constraints.