| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 {'trusted_is_client': False, | 54 {'trusted_is_client': False, |
| 55 'client_thread_check': True, | 55 'client_thread_check': True, |
| 56 'name': 'PpbRpcs', | 56 'name': 'PpbRpcs', |
| 57 'file_basename': 'ppb_rpc', | 57 'file_basename': 'ppb_rpc', |
| 58 'srpc_files': [ | 58 'srpc_files': [ |
| 59 'nacl_file.srpc', | 59 'nacl_file.srpc', |
| 60 'ppb.srpc', | 60 'ppb.srpc', |
| 61 'ppb_audio.srpc', | 61 'ppb_audio.srpc', |
| 62 'ppb_audio_config.srpc', | 62 'ppb_audio_config.srpc', |
| 63 'ppb_core.srpc', | 63 'ppb_core.srpc', |
| 64 'ppb_cursor_control.srpc', | |
| 65 'ppb_file_io.srpc', | 64 'ppb_file_io.srpc', |
| 66 'ppb_file_ref.srpc', | 65 'ppb_file_ref.srpc', |
| 67 'ppb_file_system.srpc', | 66 'ppb_file_system.srpc', |
| 68 'ppb_find.srpc', | 67 'ppb_find.srpc', |
| 69 'ppb_font.srpc', | 68 'ppb_font.srpc', |
| 70 'ppb_fullscreen.srpc', | 69 'ppb_fullscreen.srpc', |
| 71 'ppb_gamepad.srpc', | 70 'ppb_gamepad.srpc', |
| 72 'ppb_graphics_2d.srpc', | 71 'ppb_graphics_2d.srpc', |
| 73 'ppb_graphics_3d.srpc', | 72 'ppb_graphics_3d.srpc', |
| 74 'ppb_host_resolver_private.srpc', | 73 'ppb_host_resolver_private.srpc', |
| 75 'ppb_image_data.srpc', | 74 'ppb_image_data.srpc', |
| 76 'ppb_input_event.srpc', | 75 'ppb_input_event.srpc', |
| 77 'ppb_instance.srpc', | 76 'ppb_instance.srpc', |
| 78 'ppb_messaging.srpc', | 77 'ppb_messaging.srpc', |
| 78 'ppb_mouse_cursor.srpc', |
| 79 'ppb_mouse_lock.srpc', | 79 'ppb_mouse_lock.srpc', |
| 80 'ppb_net_address_private.srpc', | 80 'ppb_net_address_private.srpc', |
| 81 'ppb_pdf.srpc', | 81 'ppb_pdf.srpc', |
| 82 'ppb_scrollbar.srpc', | 82 'ppb_scrollbar.srpc', |
| 83 'ppb_tcp_server_socket_private.srpc', | 83 'ppb_tcp_server_socket_private.srpc', |
| 84 'ppb_tcp_socket_private.srpc', | 84 'ppb_tcp_socket_private.srpc', |
| 85 'ppb_testing.srpc', | 85 'ppb_testing.srpc', |
| 86 'ppb_udp_socket_private.srpc', | 86 'ppb_udp_socket_private.srpc', |
| 87 'ppb_url_loader.srpc', | 87 'ppb_url_loader.srpc', |
| 88 'ppb_url_request_info.srpc', | 88 'ppb_url_request_info.srpc', |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 'srpcgen.py')) | 203 'srpcgen.py')) |
| 204 | 204 |
| 205 if args: | 205 if args: |
| 206 parser.print_help() | 206 parser.print_help() |
| 207 return 1 | 207 return 1 |
| 208 | 208 |
| 209 return RunAll(options) | 209 return RunAll(options) |
| 210 | 210 |
| 211 if __name__ == '__main__': | 211 if __name__ == '__main__': |
| 212 sys.exit(Main(sys.argv)) | 212 sys.exit(Main(sys.argv)) |
| OLD | NEW |