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

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

Issue 799113004: Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add mojo's ply to checklicenses whitelist 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/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)

Powered by Google App Engine
This is Rietveld 408576698