Bug 929572 - If the grid isn't valid, report a build error. r=yurenju,johnhu