summaryrefslogtreecommitdiff
path: root/build/scripts/slave/recipes/win_analyze.py
blob: 0bda2d67438bad3fc2c19ce70bdcf3d62d6638ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2015 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.

DEPS = [
  'bot_update',
  'chromium',
]


BUILDERS = {
  'chromium.fyi': {
    'builders': {
      'Chromium Windows Analyze': {
        'chromium_config_kwargs': {
          'BUILD_CONFIG': 'Debug',
          'TARGET_PLATFORM': 'win',
          'TARGET_BITS': 32,
        },
      },
    },
  },
}


def RunSteps(api):
  api.chromium.configure_bot(BUILDERS, ['win_analyze'])

  api.bot_update.ensure_checkout(force=True)

  api.chromium.runhooks()

  # This is needed to disable building with goma
  api.chromium.c.compile_py.compiler = None
  api.chromium.c.compile_py.goma_dir = None

  api.chromium.compile(targets=['chrome'], force_clobber=True)


def GenTests(api):
  for test in api.chromium.gen_tests_for_builders(BUILDERS):
    yield test