# Copyright (c) 2012 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.

from master import master_config
from master.factory import chromium_factory

defaults = {}

helper = master_config.Helper(defaults)
B = helper.Builder
F = helper.Factory
S = helper.Scheduler
T = helper.Triggerable

def linux_android(): return chromium_factory.ChromiumFactory(
    '', 'linux2', nohooks_on_update=True, target_os='android')

defaults['category'] = '5android'

#
# Main release scheduler for src/
#
S('android', branch='src', treeStableTimer=60)

#
# Triggerable scheduler for the builder
#
T('android_trigger')

#
# Android Builder
#
B('Android Builder', 'dbg', 'android', 'android', notify_on_missing=True)
F('dbg', linux_android().ChromiumAnnotationFactory(
    target='Debug',
    annotation_script='src/build/android/buildbot/bb_main.sh',
    factory_properties={'trigger': 'android_trigger'}))


def Update(config_arg, active_master, c):
  return helper.Update(c)

# Copyright (c) 2012 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.

from master import master_config
from master.factory import chromium_factory

defaults = {}

helper = master_config.Helper(defaults)
B = helper.Builder
F = helper.Factory
S = helper.Scheduler
T = helper.Triggerable

def linux_android(): return chromium_factory.ChromiumFactory(
    '', 'linux2', nohooks_on_update=True, target_os='android')

defaults['category'] = '5android'

#
# Main release scheduler for src/
#
S('android', branch='src', treeStableTimer=60)

#
# Triggerable scheduler for the builder
#
T('android_trigger')

#
# Android Builder
#
B('Android Builder', 'dbg', 'android', 'android', notify_on_missing=True)
F('dbg', linux_android().ChromiumAnnotationFactory(
    target='Debug',
    annotation_script='src/build/android/buildbot/bb_main_builder.sh',
    factory_properties={'trigger': 'android_trigger'}))


def Update(config_arg, active_master, c):
  return helper.Update(c)

Fix typo in annotation script location
Fix typo in annotation script location

In 2a07fd1866 I erroneously pointed to the wrong location
for the annotation script for main waterfall.  This fixes that.

TBR=nsylvain@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/10917129

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@155426 0039d316-1c4b-4281-b951-d872f2087c98
