コード例 #1
0
reload(b2g_project_branches)
from b2g_project_branches import PROJECT_BRANCHES, ACTIVE_PROJECT_BRANCHES

# Note that b2g_localconfig.py is symlinked to one of:
# {production,staging}_b2g_config.py
import b2g_localconfig
reload(b2g_localconfig)

import master_common
reload(master_common)
from master_common import items_before, setMainFirefoxVersions, items_at_least

GLOBAL_VARS = deepcopy(GLOBAL_VARS)
PLATFORM_VARS = deepcopy(PLATFORM_VARS)

GLOBAL_VARS.update(b2g_localconfig.GLOBAL_VARS.copy())

GLOBAL_VARS.update({
    'platforms': {
        'macosx64-mulet': {},
        'win32-mulet': {},
        'nexus-4': {},
        'nexus-4_eng': {},
        'nexus-5-l': {},
        'nexus-5-l_eng': {},
        'emulator': {},
        'emulator-debug': {},
        'flame-kk': {},
        'flame-kk_eng': {},
        'flame-kk_eng-debug': {},
    },
コード例 #2
0
from copy import deepcopy

from config import GLOBAL_VARS, PLATFORM_VARS, SLAVES, TRY_SLAVES

import b2g_project_branches
reload(b2g_project_branches)
from b2g_project_branches import PROJECT_BRANCHES, ACTIVE_PROJECT_BRANCHES

# Note that b2g_localconfig.py is symlinked to one of: {production,staging,preproduction}_b2g_config.py
import b2g_localconfig
reload(b2g_localconfig)

GLOBAL_VARS = deepcopy(GLOBAL_VARS)
PLATFORM_VARS = deepcopy(PLATFORM_VARS)

GLOBAL_VARS.update(b2g_localconfig.GLOBAL_VARS.copy())

GLOBAL_VARS.update({
    'platforms': {
        'gb_armv7a_gecko': {},
        'gb_armv7a_gecko-debug': {},
        'linux32_gecko': {},
        'macosx64_gecko': {},
        'win32_gecko': {},
    },
    'enable_nightly': True,
    'enable_l10n': False,
    'enable_xulrunner': False,
    'enabled_products': ['b2g'],
    'product_prefix': 'b2g',
    'unittest_suites': [],