summaryrefslogtreecommitdiffstats
path: root/chrome/telemetry_unittests.isolate
blob: 441dda6083e3a3a57b3ac3ba64f739075eda8fbd (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
43
44
45
46
47
48
# 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.
{
  'includes': [
    '../tools/perf/chrome_telemetry_build/telemetry_chrome_test.isolate',
  ],
  'conditions': [
    ['OS=="mac" or OS=="win"', {
      'variables': {
        'files': [
          '../tools/perf/run_telemetry_tests',
          # Other dependencies of the tests and their harness.
          '../testing/test_env.py',
          '../testing/xvfb.py',
          '../testing/scripts/common.py',
          '../testing/scripts/run_telemetry_as_googletest.py',
        ],
      }
    }],
    ['OS=="mac"', {
      'variables': {
        'command': [
          '../testing/scripts/run_telemetry_as_googletest.py',
          '../tools/perf/run_telemetry_tests',
          '-v',
          '--chrome-root',
          '..',
        ],
      },
    }],
    ['OS=="win"', {
      'variables': {
        'command': [
          '../testing/scripts/run_telemetry_as_googletest.py',
          '../tools/perf/run_telemetry_tests',
          '-v',
          '--chrome-root',
          '..',
          # crbug.com/570955
          # TODO(nednguyen): Remove --jobs=1 once the bug is fixed to speed up
          # the test run.
          '--job=1',
        ],
      },
    }],
  ]
}