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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 'ppb_mouse_lock.srpc', | 78 'ppb_mouse_lock.srpc', |
79 'ppb_net_address_private.srpc', | 79 'ppb_net_address_private.srpc', |
80 'ppb_pdf.srpc', | 80 'ppb_pdf.srpc', |
81 'ppb_scrollbar.srpc', | 81 'ppb_scrollbar.srpc', |
82 'ppb_tcp_socket_private.srpc', | 82 'ppb_tcp_socket_private.srpc', |
83 'ppb_testing.srpc', | 83 'ppb_testing.srpc', |
84 'ppb_udp_socket_private.srpc', | 84 'ppb_udp_socket_private.srpc', |
85 'ppb_url_loader.srpc', | 85 'ppb_url_loader.srpc', |
86 'ppb_url_request_info.srpc', | 86 'ppb_url_request_info.srpc', |
87 'ppb_url_response_info.srpc', | 87 'ppb_url_response_info.srpc', |
| 88 'ppb_websocket.srpc', |
88 'ppb_widget.srpc', | 89 'ppb_widget.srpc', |
89 'ppb_zoom.srpc', | 90 'ppb_zoom.srpc', |
90 ]}, | 91 ]}, |
91 {'trusted_is_client': False, | 92 {'trusted_is_client': False, |
92 'name': 'PpbUpcalls', | 93 'name': 'PpbUpcalls', |
93 'file_basename': 'upcall', | 94 'file_basename': 'upcall', |
94 'srpc_files': [ | 95 'srpc_files': [ |
95 'upcall.srpc', | 96 'upcall.srpc', |
96 ]}, | 97 ]}, |
97 ] | 98 ] |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 'srpcgen.py')) | 201 'srpcgen.py')) |
201 | 202 |
202 if args: | 203 if args: |
203 parser.print_help() | 204 parser.print_help() |
204 return 1 | 205 return 1 |
205 | 206 |
206 return RunAll(options) | 207 return RunAll(options) |
207 | 208 |
208 if __name__ == '__main__': | 209 if __name__ == '__main__': |
209 sys.exit(Main(sys.argv)) | 210 sys.exit(Main(sys.argv)) |
OLD | NEW |