| 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 cb3b1d1108f895295f703116c4be45731cc1d902..2d1802c05ac6ec723c86f8f6a312a03b97efcd98 100755
|
| --- a/mojo/public/tools/bindings/mojom_bindings_generator.py
|
| +++ b/mojo/public/tools/bindings/mojom_bindings_generator.py
|
| @@ -27,8 +27,8 @@ 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_chromium_bundled_pylibs" in sys.argv[1:]:
|
| - sys.path.insert(0, os.path.join(_GetDirAbove("mojo"), "third_party"))
|
| +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(os.path.dirname(os.path.abspath(__file__)),
|
| "pylib"))
|
| @@ -198,8 +198,8 @@ def main():
|
| parser.add_argument("-I", dest="import_directories", action="append",
|
| metavar="directory", default=[],
|
| help="add a directory to be searched for import files")
|
| - parser.add_argument("--use_chromium_bundled_pylibs", action="store_true",
|
| - help="use Python modules bundled in the Chromium source")
|
| + parser.add_argument("--use_bundled_pylibs", action="store_true",
|
| + help="use Python modules bundled in the SDK")
|
| (args, remaining_args) = parser.parse_known_args()
|
|
|
| generator_modules = LoadGenerators(args.generators_string)
|
|
|