def CalculateGeneratorInputInfo(params):
 toplevel = params['options'].toplevel_dir
 qualified_out_dir = os.path.normpath(os.path.join(toplevel, ComputeOutputDir(params), 'gypfiles'))
 global generator_filelist_paths
 generator_filelist_paths = {'toplevel': toplevel, 'qualified_out_dir': qualified_out_dir}

def CalculateGeneratorInputInfo ( params ) : toplevel = params [ 'options' ] . toplevel_dir qualified_out_dir = os . path . normpath ( os . path . join ( toplevel , ComputeOutputDir ( params ) , 'gypfiles' ) ) global generator_filelist_paths generator_filelist_paths = { 'toplevel' : toplevel , 'qualified_out_dir' : qualified_out_dir }
calculate the generator specific info that gets fed to input .