Index: tools/run-valgrind.isolate |
diff --git a/tools/run-valgrind.isolate b/tools/run-valgrind.isolate |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5947409e17541de71f8cff6c74e33f48a3395176 |
--- /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 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', |
+ ], |
+} |