Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: mojo/public/tools/bindings/pylib/mojom/parse/lexer.py

Issue 801523002: Bundle the DEPS of mojom_bindings_generator.py with the public SDK. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
index ed972dd5e0c23ae1d683c62ead83803c1d8cd925..476a66275782646ffda42fee4e678a77a3435259 100644
--- a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
@@ -19,7 +19,7 @@ def _GetDirAbove(dirname):
try:
imp.find_module("ply")
except ImportError:
- sys.path.append(os.path.join(_GetDirAbove("mojo"), "third_party"))
+ sys.path.append(os.path.join(_GetDirAbove("public"), "public/third_party"))
from ply.lex import TOKEN
from ..error import Error

Powered by Google App Engine
This is Rietveld 408576698