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 27 matching lines...) Expand all Loading... |
38 'file_basename': 'ppp_rpc', | 38 'file_basename': 'ppp_rpc', |
39 'srpc_files': [ | 39 'srpc_files': [ |
40 'completion_callback.srpc', | 40 'completion_callback.srpc', |
41 'ppp.srpc', | 41 'ppp.srpc', |
42 'ppp_audio.srpc', | 42 'ppp_audio.srpc', |
43 'ppp_find.srpc', | 43 'ppp_find.srpc', |
44 'ppp_input_event.srpc', | 44 'ppp_input_event.srpc', |
45 'ppp_instance.srpc', | 45 'ppp_instance.srpc', |
46 'ppp_messaging.srpc', | 46 'ppp_messaging.srpc', |
47 'ppp_mouse_lock.srpc', | 47 'ppp_mouse_lock.srpc', |
| 48 'ppp_network_monitor_private.srpc', |
48 'ppp_printing.srpc', | 49 'ppp_printing.srpc', |
49 'ppp_scrollbar.srpc', | 50 'ppp_scrollbar.srpc', |
50 'ppp_selection.srpc', | 51 'ppp_selection.srpc', |
51 'ppp_widget.srpc', | 52 'ppp_widget.srpc', |
52 'ppp_zoom.srpc', | 53 'ppp_zoom.srpc', |
53 ]}, | 54 ]}, |
54 {'trusted_is_client': False, | 55 {'trusted_is_client': False, |
55 'client_thread_check': True, | 56 'client_thread_check': True, |
56 'name': 'PpbRpcs', | 57 'name': 'PpbRpcs', |
57 'file_basename': 'ppb_rpc', | 58 'file_basename': 'ppb_rpc', |
(...skipping 12 matching lines...) Expand all Loading... |
70 'ppb_graphics_2d.srpc', | 71 'ppb_graphics_2d.srpc', |
71 'ppb_graphics_3d.srpc', | 72 'ppb_graphics_3d.srpc', |
72 'ppb_host_resolver_private.srpc', | 73 'ppb_host_resolver_private.srpc', |
73 'ppb_image_data.srpc', | 74 'ppb_image_data.srpc', |
74 'ppb_input_event.srpc', | 75 'ppb_input_event.srpc', |
75 'ppb_instance.srpc', | 76 'ppb_instance.srpc', |
76 'ppb_messaging.srpc', | 77 'ppb_messaging.srpc', |
77 'ppb_mouse_cursor.srpc', | 78 'ppb_mouse_cursor.srpc', |
78 'ppb_mouse_lock.srpc', | 79 'ppb_mouse_lock.srpc', |
79 'ppb_net_address_private.srpc', | 80 'ppb_net_address_private.srpc', |
| 81 'ppb_network_list_private.srpc', |
| 82 'ppb_network_monitor_private.srpc', |
80 'ppb_pdf.srpc', | 83 'ppb_pdf.srpc', |
81 'ppb_scrollbar.srpc', | 84 'ppb_scrollbar.srpc', |
82 'ppb_tcp_server_socket_private.srpc', | 85 'ppb_tcp_server_socket_private.srpc', |
83 'ppb_tcp_socket_private.srpc', | 86 'ppb_tcp_socket_private.srpc', |
84 'ppb_testing.srpc', | 87 'ppb_testing.srpc', |
85 'ppb_udp_socket_private.srpc', | 88 'ppb_udp_socket_private.srpc', |
86 'ppb_url_loader.srpc', | 89 'ppb_url_loader.srpc', |
87 'ppb_url_request_info.srpc', | 90 'ppb_url_request_info.srpc', |
88 'ppb_url_response_info.srpc', | 91 'ppb_url_response_info.srpc', |
89 'ppb_websocket.srpc', | 92 'ppb_websocket.srpc', |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 'srpcgen.py')) | 205 'srpcgen.py')) |
203 | 206 |
204 if args: | 207 if args: |
205 parser.print_help() | 208 parser.print_help() |
206 return 1 | 209 return 1 |
207 | 210 |
208 return RunAll(options) | 211 return RunAll(options) |
209 | 212 |
210 if __name__ == '__main__': | 213 if __name__ == '__main__': |
211 sys.exit(Main(sys.argv)) | 214 sys.exit(Main(sys.argv)) |
OLD | NEW |