Index: tools/gypv8sh.py |
diff --git a/tools/gypv8sh.py b/tools/gypv8sh.py |
index 3f81a8bc94c280e2eae9c835d0a25cdd17002ba1..2a05ae0616272de1898532f53ae0a3a0843bd262 100755 |
--- a/tools/gypv8sh.py |
+++ b/tools/gypv8sh.py |
@@ -36,6 +36,12 @@ def main (): |
icudatafile = os.path.join(os.path.dirname(v8_shell), 'icudtl.dat') |
if os.path.exists(icudatafile): |
cmd.extend(['--icu-data-file=%s' % icudatafile]) |
+ v8nativesfile = os.path.join(os.path.dirname(v8_shell), 'natives_blob.bin') |
+ if os.path.exists(v8nativesfile): |
+ cmd.extend(['--natives_blob=%s' % v8nativesfile]) |
+ v8snapshotfile = os.path.join(os.path.dirname(v8_shell), 'snapshot_blob.bin') |
+ if os.path.exists(v8snapshotfile): |
+ cmd.extend(['--snapshot_blob=%s' % v8snapshotfile]) |
arguments = [js2webui, inputfile, inputrelfile, opts.deps_js, |
cxxoutfile, test_type] |
cmd.extend(['-e', "arguments=" + json.dumps(arguments), mock_js, |