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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 203 |
204 processor = MojomProcessor(lambda filename: filename in args.filename) | 204 processor = MojomProcessor(lambda filename: filename in args.filename) |
205 for filename in args.filename: | 205 for filename in args.filename: |
206 processor.ProcessFile(args, remaining_args, generator_modules, filename) | 206 processor.ProcessFile(args, remaining_args, generator_modules, filename) |
207 | 207 |
208 return 0 | 208 return 0 |
209 | 209 |
210 | 210 |
211 if __name__ == "__main__": | 211 if __name__ == "__main__": |
212 sys.exit(main()) | 212 sys.exit(main()) |
OLD | NEW |