summaryrefslogtreecommitdiffstats
path: root/chrome/telemetry_gpu_test.isolate
blob: 1342d6f2b5ccda9185c4dcb7ceb5f154a7e1e28e (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
49
50
# Copyright (c) 2013 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=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
      # This isolate allows any of the GPU tests, including the WebGL
      # conformance tests, to be run. However, extra command line arguments
      # must be supplied in order to run any one of them.
      'variables': {
        'files': [
          '../content/test/gpu/',
          '../content/test/data/gpu/',
          # For GpuProcess.video
          '../content/test/data/media/bear.ogv',
          '../testing/test_env.py',
          '../third_party/catapult/',
          # For webgl_conformance
          '../third_party/webgl/',
        ],
        'command': [
          '../testing/test_env.py',
          '../content/test/gpu/run_gpu_test.py',
        ],
      },
    }],
    # These PDBs are needed in order to get reasonable stack traces if
    # an assertion fires or a crash occurs. Add more as necessary.
    ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/chrome.exe.pdb',
        ],
      },
    }],
    ['OS=="win" and component=="shared_library" and (fastbuild==0 or fastbuild==1)', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/base.dll.pdb',
          '<(PRODUCT_DIR)/blink_platform.dll.pdb',
          '<(PRODUCT_DIR)/blink_web.dll.pdb',
          '<(PRODUCT_DIR)/content.dll.pdb',
        ],
      },
    }],
  ]
}