dom/imptests Makefile.in's are autogenerated. See dom/imptests/writeMakefile.py and bug 782651. We will need to update writeMakefile.py to produce mozbuild files.