bug 874266: move DEFINES to moz.build (logic), r=gps