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

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

Issue 226263002: Mojo: Move mojo/public/bindings to mojo/public/tools/bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 months 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/parse/mojo_parser.py
diff --git a/mojo/public/bindings/pylib/parse/mojo_parser.py b/mojo/public/tools/bindings/pylib/parse/mojo_parser.py
similarity index 98%
rename from mojo/public/bindings/pylib/parse/mojo_parser.py
rename to mojo/public/tools/bindings/pylib/parse/mojo_parser.py
index 3c021df5672ccf44a820e1affa370f0ebe6f820f..75e0e95063397f57383d78187ac3d1bc0111f175 100755
--- a/mojo/public/bindings/pylib/parse/mojo_parser.py
+++ b/mojo/public/tools/bindings/pylib/parse/mojo_parser.py
@@ -17,9 +17,10 @@ try:
from ply import lex
from ply import yacc
except ImportError:
+ # This assumes this file is in src/mojo/public/tools/bindings/pylib/parse/.
module_path, module_name = os.path.split(__file__)
third_party = os.path.join(module_path, os.pardir, os.pardir, os.pardir,
- os.pardir, os.pardir, 'third_party')
+ os.pardir, os.pardir, os.pardir, 'third_party')
sys.path.append(third_party)
# pylint: disable=F0401
from ply import lex

Powered by Google App Engine
This is Rietveld 408576698