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")) |