Allow having the generated modules in dependencies, just remove them

Change-Id: I6ef555eea961d90b911de0b30e54beb3ae8d1026