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

Unified Diff: mojo/public/tools/bindings/mojom_bindings_generator.py

Issue 1530433002: Remove directories in mojo/public/third_party that just mirrored third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: with fixes Created 5 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/mojom_bindings_generator.py
diff --git a/mojo/public/tools/bindings/mojom_bindings_generator.py b/mojo/public/tools/bindings/mojom_bindings_generator.py
index 17a3dbe18ab22c82a6ade405ff0384e4d8a28170..96098e0b6ccb70fda138a7359434afa0802163bd 100755
--- a/mojo/public/tools/bindings/mojom_bindings_generator.py
+++ b/mojo/public/tools/bindings/mojom_bindings_generator.py
@@ -28,7 +28,7 @@ def _GetDirAbove(dirname):
# Manually check for the command-line flag. (This isn't quite right, since it
# ignores, e.g., "--", but it's close enough.)
if "--use_bundled_pylibs" in sys.argv[1:]:
- sys.path.insert(0, os.path.join(_GetDirAbove("public"), "public/third_party"))
+ sys.path.insert(0, os.path.join(_GetDirAbove("mojo"), "third_party"))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)),
"pylib"))
« no previous file with comments | « mojo/public/third_party/ply/yacc.py ('k') | mojo/public/tools/bindings/pylib/mojom/generate/template_expander.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698