'linux64_horizon': {}, 'macosx64_horizon': {}, 'win64_horizon': {}, }, }, } setMainFirefoxVersions(BRANCHES) # Copy project branches into BRANCHES keys for branch in ACTIVE_PROJECT_BRANCHES: BRANCHES[branch] = deepcopy(PROJECT_BRANCHES[branch]) # Copy global vars in first, then platform vars for branch in BRANCHES.keys(): for key, value in GLOBAL_VARS.items(): # Don't override platforms if it's set and locked if key == 'platforms' and 'platforms' in BRANCHES[branch] and BRANCHES[branch].get('lock_platforms'): continue else: BRANCHES[branch][key] = deepcopy(value) # bug 1218589 - Enable nightly mozilla-central builds of graphene if key == 'platforms' and branch == 'mozilla-central': graphene = {'linux64_graphene': {}, 'macosx64_graphene': {}, 'win64_graphene': {}} BRANCHES[branch][key].update(graphene) for platform, platform_config in PLATFORM_VARS.items(): if platform in BRANCHES[branch]['platforms']: for key, value in platform_config.items(): # put default platform set in all branches, but grab any