| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 """Driver of srpcgen for ppapi_proxy sources. | 6 """Driver of srpcgen for ppapi_proxy sources. |
| 7 | 7 |
| 8 This must be run after modifying, adding, or removing .srpc files. | 8 This must be run after modifying, adding, or removing .srpc files. |
| 9 The lists of .srpc files are in this source file. | 9 The lists of .srpc files are in this source file. |
| 10 """ | 10 """ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 'ppb_messaging.srpc', | 77 'ppb_messaging.srpc', |
| 78 'ppb_mouse_lock.srpc', | 78 'ppb_mouse_lock.srpc', |
| 79 'ppb_pdf.srpc', | 79 'ppb_pdf.srpc', |
| 80 'ppb_scrollbar.srpc', | 80 'ppb_scrollbar.srpc', |
| 81 'ppb_tcp_socket_private.srpc', | 81 'ppb_tcp_socket_private.srpc', |
| 82 'ppb_testing.srpc', | 82 'ppb_testing.srpc', |
| 83 'ppb_udp_socket_private.srpc', | 83 'ppb_udp_socket_private.srpc', |
| 84 'ppb_url_loader.srpc', | 84 'ppb_url_loader.srpc', |
| 85 'ppb_url_request_info.srpc', | 85 'ppb_url_request_info.srpc', |
| 86 'ppb_url_response_info.srpc', | 86 'ppb_url_response_info.srpc', |
| 87 'ppb_websocket.srpc', |
| 87 'ppb_widget.srpc', | 88 'ppb_widget.srpc', |
| 88 'ppb_zoom.srpc', | 89 'ppb_zoom.srpc', |
| 89 ]}, | 90 ]}, |
| 90 {'trusted_is_client': False, | 91 {'trusted_is_client': False, |
| 91 'name': 'PpbUpcalls', | 92 'name': 'PpbUpcalls', |
| 92 'file_basename': 'upcall', | 93 'file_basename': 'upcall', |
| 93 'srpc_files': [ | 94 'srpc_files': [ |
| 94 'upcall.srpc', | 95 'upcall.srpc', |
| 95 ]}, | 96 ]}, |
| 96 ] | 97 ] |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 'srpcgen.py')) | 200 'srpcgen.py')) |
| 200 | 201 |
| 201 if args: | 202 if args: |
| 202 parser.print_help() | 203 parser.print_help() |
| 203 return 1 | 204 return 1 |
| 204 | 205 |
| 205 return RunAll(options) | 206 return RunAll(options) |
| 206 | 207 |
| 207 if __name__ == '__main__': | 208 if __name__ == '__main__': |
| 208 sys.exit(Main(sys.argv)) | 209 sys.exit(Main(sys.argv)) |
| OLD | NEW |