1# Copyright 2016 the V8 project authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4{
5  'variables': {
6    'command': [
7      'run-valgrind.py',
8    ],
9    'files': [
10      'run-valgrind.py',
11    ],
12  },
13  'conditions': [
14    ['has_valgrind==1', {
15      'variables': {
16        'files': [
17          # This assumes vagrind binaries have been fetched as a custom deps
18          # into v8/third_party/valgrind. It is not clear on which target
19          # machine this will run, but grabbing both is cheap.
20          '../third_party/valgrind/linux_x86/',
21          '../third_party/valgrind/linux_x64/',
22        ],
23      },
24    }],
25  ],
26  'includes': [
27    '../src/d8.isolate',
28  ],
29}
30