[idl] get source/header list even when not allowed to regenerate code