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

Side by Side Diff: mojo/public/tools/bindings/pylib/mojom_tests/parse/run_translate.py

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Simple testing utility to just run the mojom translate stage.""" 6 """Simple testing utility to just run the mojom translate stage."""
7 7
8 8
9 import os.path 9 import os.path
10 import sys 10 import sys
(...skipping 14 matching lines...) Expand all
25 with open(filename) as f: 25 with open(filename) as f:
26 print "%s:" % filename 26 print "%s:" % filename
27 print Translate(Parse(f.read(), filename), 27 print Translate(Parse(f.read(), filename),
28 os.path.splitext(os.path.basename(filename))[0]) 28 os.path.splitext(os.path.basename(filename))[0])
29 29
30 return 0 30 return 0
31 31
32 32
33 if __name__ == '__main__': 33 if __name__ == '__main__':
34 sys.exit(main(sys.argv)) 34 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698