| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 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 """The frontend for the Mojo bindings system.""" | 6 """The frontend for the Mojo bindings system.""" |
| 7 | 7 |
| 8 | 8 |
| 9 import argparse | 9 import argparse |
| 10 import imp | 10 import imp |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 os.makedirs(args.output_dir) | 133 os.makedirs(args.output_dir) |
| 134 | 134 |
| 135 for filename in args.filename: | 135 for filename in args.filename: |
| 136 ProcessFile(args, generator_modules, filename) | 136 ProcessFile(args, generator_modules, filename) |
| 137 | 137 |
| 138 return 0 | 138 return 0 |
| 139 | 139 |
| 140 | 140 |
| 141 if __name__ == "__main__": | 141 if __name__ == "__main__": |
| 142 sys.exit(Main()) | 142 sys.exit(Main()) |
| OLD | NEW |