Index: tools/run-valgrind.isolate |
diff --git a/tools/run-valgrind.isolate b/tools/run-valgrind.isolate |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8261b86dc3dcbbce16f3e3fc76c90f5ab03ddc0b |
--- /dev/null |
+++ b/tools/run-valgrind.isolate |
@@ -0,0 +1,29 @@ |
+# 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 |
kjellander_chromium
2016/02/15 08:48:28
nit: wrap at 80 chars.
Michael Achenbach
2016/02/15 09:55:45
Done.
|
+ # 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/', |
kjellander_chromium
2016/02/15 08:48:28
You could use the target_arch variable for checks
Michael Achenbach
2016/02/15 09:55:45
That way yes. But I could very well run a 32 bit b
kjellander_chromium
2016/02/15 11:49:26
Fair enough, simplicity is better.
|
+ '../third_party/valgrind/linux_x64/', |
+ ], |
+ }, |
+ }], |
+ ], |
+ 'includes': [ |
+ '../src/d8.isolate', |
+ ], |
+} |