Returns the compatible Chromium version specified by the CEF checkout.
()
| 539 | |
| 540 | |
| 541 | def get_chromium_compat_version(): |
| 542 | """ Returns the compatible Chromium version specified by the CEF checkout. """ |
| 543 | compat_path = os.path.join(cef_dir, 'CHROMIUM_BUILD_COMPATIBILITY.txt') |
| 544 | msg("Reading %s" % compat_path) |
| 545 | config = read_config_file(compat_path) |
| 546 | |
| 547 | if 'chromium_checkout' in config: |
| 548 | return config['chromium_checkout'] |
| 549 | raise Exception("Missing chromium_checkout value in %s" % (compat_path)) |
| 550 | |
| 551 | |
| 552 | def get_chromium_target_version(os='win', channel='canary', target_distance=0): |
no test coverage detected