(out_dir, node_gn_path)
| 37 | return config |
| 38 | |
| 39 | def get_v8_config(out_dir, node_gn_path): |
| 40 | with open(os.path.join(out_dir, 'v8_features.json')) as f: |
| 41 | v8_config = json.load(f) |
| 42 | for key, value in v8_config.items(): |
| 43 | if isinstance(value, bool): |
| 44 | v8_config[key] = bool_to_number(value) |
| 45 | return v8_config |
| 46 | |
| 47 | def translate_config(out_dir, config, v8_config): |
| 48 | config_gypi = { |