Index: third_party/WebKit/Source/platform/inspector_protocol/CodeGenerator.py |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/CodeGenerator.py b/third_party/WebKit/Source/platform/inspector_protocol/CodeGenerator.py |
index c785c79b528fd162573f62dc36931c38a35cf07d..ba8d5259e48c339f37b5a6d546fa671cdfb08a26 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/CodeGenerator.py |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/CodeGenerator.py |
@@ -30,6 +30,13 @@ third_party_dir = os.path.normpath(os.path.join( |
if os.path.isdir(third_party_dir): |
sys.path.insert(1, third_party_dir) |
+# In V8, it is in tools folder |
+tools_dir = os.path.normpath(os.path.join( |
+ module_path, os.pardir, os.pardir, "tools")) |
pfeldman
2016/07/22 17:07:34
I don't think we are allowed to have third party o
|
+ |
+if os.path.isdir(tools_dir): |
+ sys.path.insert(1, tools_dir) |
+ |
# In Node, it is in deps folder |
deps_dir = os.path.normpath(os.path.join( |
module_path, os.pardir, os.pardir, os.pardir, os.pardir, "third_party")) |