output is a confusing name, since it's not the same as output_filename. Maybe depfile -> depfile_path, output -> depfile?