<commit_before># -*- python -*-
# ex: set syntax=python:

# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# READ THIS:
# See http://dev.chromium.org/developers/testing/chromium-build-infrastructure

# These modules come from scripts, which must be in the PYTHONPATH.
from master import master_utils
from master import slaves_list
from master import try_job_status_update
from master.builders_pools import BuildersPools
from master.factory import gyp_factory
from master.factory import nacl_factory
from master.factory import nacl_sdk_factory
from master.try_job_http import TryJobHTTP
from master.try_job_svn import TryJobSubversion

from buildbot.scheduler import Triggerable

import config

ActiveMaster = config.Master.NativeClientTryServer

MAIL_NOTIFIER = True
UPDATE_CODEREVIEW = ActiveMaster.is_production_host

# This is the dictionary that the buildmaster pays attention to. We also use
# a shorter alias to save typing.
c = BuildmasterConfig = {}


####### CHANGESOURCES

c['change_source'] = [ ]


####### BUILDERS

c['builders'] = []

# FACTORIES

m_win32 = {}
m_win64 = {}
m_mac = {}
m_linux = {}
m_arm = {}

m_win32['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='win32', use_supplement=True).NativeClientFactory
m_win64['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    # Use win32 for win64 as various bbot parts assume this.
    target_platform='win32', use_supplement=True).NativeClientFactory
m_linux['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='linux2', use_supplement=True).NativeClientFactory
m_mac['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='darwin', use_supplement=True).NativeClientFactory
m_arm['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='arm', use_supplement=True).NativeClientFactory

for platform in [m_win32, m_win64, m_mac, m_linux, m_arm]:
  platform['nacl-toolchain'] = platform['nacl']

m_win32['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32').NativeClientSDKFactory
m_win64['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32').NativeClientSDKFactory
m_linux['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='linux2').NativeClientSDKFactory
m_mac['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='darwin').NativeClientSDKFactory

nacl_sdk_chromium = 'svn://svn.chromium.org/chrome/src/native_client_sdk/src'
m_win32['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory
m_win64['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory
m_linux['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='linux2',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory
m_mac['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='darwin',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory

m_win32['gyp'] = gyp_factory.GYPFactory(
    build_dir='trunk', target_platform='win32').GYPFactory
m_win64['gyp'] = gyp_factory.GYPFactory(
    # Use win32 for win64 as various bbot parts assume this.
    build_dir='trunk', target_platform='win32').GYPFactory
m_mac['gyp'] = gyp_factory.GYPFactory(<commit_msg>Fixing nacl sdk url in chrome for trybots.<commit_after># -*- python -*-
# ex: set syntax=python:

# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# READ THIS:
# See http://dev.chromium.org/developers/testing/chromium-build-infrastructure

# These modules come from scripts, which must be in the PYTHONPATH.
from master import master_utils
from master import slaves_list
from master import try_job_status_update
from master.builders_pools import BuildersPools
from master.factory import gyp_factory
from master.factory import nacl_factory
from master.factory import nacl_sdk_factory
from master.try_job_http import TryJobHTTP
from master.try_job_svn import TryJobSubversion

from buildbot.scheduler import Triggerable

import config

ActiveMaster = config.Master.NativeClientTryServer

MAIL_NOTIFIER = True
UPDATE_CODEREVIEW = ActiveMaster.is_production_host

# This is the dictionary that the buildmaster pays attention to. We also use
# a shorter alias to save typing.
c = BuildmasterConfig = {}


####### CHANGESOURCES

c['change_source'] = [ ]


####### BUILDERS

c['builders'] = []

# FACTORIES

m_win32 = {}
m_win64 = {}
m_mac = {}
m_linux = {}
m_arm = {}

m_win32['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='win32', use_supplement=True).NativeClientFactory
m_win64['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    # Use win32 for win64 as various bbot parts assume this.
    target_platform='win32', use_supplement=True).NativeClientFactory
m_linux['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='linux2', use_supplement=True).NativeClientFactory
m_mac['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='darwin', use_supplement=True).NativeClientFactory
m_arm['nacl'] = nacl_factory.NativeClientFactory(
    build_dir='native_client',
    target_platform='arm', use_supplement=True).NativeClientFactory

for platform in [m_win32, m_win64, m_mac, m_linux, m_arm]:
  platform['nacl-toolchain'] = platform['nacl']

m_win32['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32').NativeClientSDKFactory
m_win64['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32').NativeClientSDKFactory
m_linux['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='linux2').NativeClientSDKFactory
m_mac['naclsdk'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='darwin').NativeClientSDKFactory

nacl_sdk_chromium = (
    'svn://svn.chromium.org/chrome/trunk/src/native_client_sdk/src')
m_win32['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory
m_win64['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='win32',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory
m_linux['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='linux2',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory
m_mac['naclsdkm'] = nacl_sdk_factory.NativeClientSDKFactory(
    build_dir='native_client', target_platform='darwin',
    alternate_url=nacl_sdk_chromium).NativeClientSDKFactory

m_win32['gyp'] = gyp_factory.GYPFactory(
    build_dir='trunk', target_platform='win32').GYPFactory
m_win64['gyp'] = gyp_factory.GYPFactory(
    # Use win32 for win64 as various bbot parts assume this.
    build_dir='trunk', target_platform='win32').GYPFactory
m_mac['gyp'] = gyp_factory.GYPFactory(
{'fraction_non_alphanumeric': 0.10455486542443064, 'fraction_numerical': 0.014233954451345756, 'mean_word_length': 6.878695208970439, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '810215', 'n_tokens_mistral': 2612, 'n_tokens_neox': 2500, 'n_words': 466}