b065c216e7
This creates an isolate with the v8-side valgrind wrapper and the valgrind binaries from third_party. It's dynamically checked if the directories are present. Follow up after https://codereview.chromium.org/1585093002/ and https://codereview.chromium.org/1583933006/ BUG=chromium:535160 LOG=n Review URL: https://codereview.chromium.org/1700673002 Cr-Commit-Position: refs/heads/master@{#33992}
30 lines
759 B
Plaintext
30 lines
759 B
Plaintext
# Copyright 2016 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
{
|
|
'variables': {
|
|
'command': [
|
|
'run-valgrind.py',
|
|
],
|
|
'files': [
|
|
'run-valgrind.py',
|
|
],
|
|
},
|
|
'conditions': [
|
|
['has_valgrind==1', {
|
|
'variables': {
|
|
'files': [
|
|
# This assumes vagrind binaries have been fetched as a custom deps
|
|
# into v8/third_party/valgrind. It is not clear on which target
|
|
# machine this will run, but grabbing both is cheap.
|
|
'../third_party/valgrind/linux_x86/',
|
|
'../third_party/valgrind/linux_x64/',
|
|
],
|
|
},
|
|
}],
|
|
],
|
|
'includes': [
|
|
'../src/d8.isolate',
|
|
],
|
|
}
|