summaryrefslogtreecommitdiff
path: root/tools/js2c.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/js2c.py')
-rwxr-xr-xtools/js2c.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/js2c.py b/tools/js2c.py
index 880ac529d4..8ef644ee19 100755
--- a/tools/js2c.py
+++ b/tools/js2c.py
@@ -31,7 +31,13 @@
# char arrays. It is used for embedded JavaScript code in the V8
# library.
-import os, re, sys, string
+import os
+from os.path import dirname
+import re
+import sys
+import string
+
+sys.path.append(dirname(__file__) + "/../deps/v8/tools");
import jsmin