Lines Matching refs:config
71 return UnionBytes(config_raw, {2}); // config.gypi
153 config_def, config_size = handle_config_gypi(source_files['config.gypi'])
166 config = ReadFile(config_filename)
167 config = jsonify(config)
168 config_def, config_size = GetDefinition(CONFIG_GYPI_ID, config)
172 def jsonify(config):
174 config = re.sub(r'#.*?\n', '', config)
176 config = re.sub(r"'$\s+'", '', config, flags=re.M)
178 config = re.sub('\'', '"', config)
180 config = re.sub('"true"', 'true', config)
181 config = re.sub('"false"', 'false', config)
182 return config
241 # Currently config.gypi is the only `.gypi` file allowed
243 assert os.path.basename(source_files['.gypi'][0]) == 'config.gypi'
244 source_files['config.gypi'] = source_files.pop('.gypi')[0]