OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client 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 Import('env') | 6 Import('env') |
7 | 7 |
8 # Underlay $SOURCE_ROOT/gpu in this directory. | 8 # Underlay $SOURCE_ROOT/gpu in this directory. |
9 Dir('.').addRepository(Dir('#/../gpu')) | 9 Dir('.').addRepository(Dir('#/../gpu')) |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 # server/client proxies and stubs can be generated automatically using | 23 # server/client proxies and stubs can be generated automatically using |
24 # scons srpcgen | 24 # scons srpcgen |
25 # The .cc files are written to ./ and .h files - to ./untrusted/srpcgen/. | 25 # The .cc files are written to ./ and .h files - to ./untrusted/srpcgen/. |
26 # The generated files must be committed when changes are made to .srpc files. | 26 # The generated files must be committed when changes are made to .srpc files. |
27 | 27 |
28 env.UntrustedSrpc(is_client=False, | 28 env.UntrustedSrpc(is_client=False, |
29 srpc_files=['completion_callback.srpc', | 29 srpc_files=['completion_callback.srpc', |
30 'ppp.srpc', | 30 'ppp.srpc', |
31 'ppp_audio.srpc', | 31 'ppp_audio.srpc', |
32 'ppp_find.srpc', | 32 'ppp_find.srpc', |
| 33 'ppp_input_event.srpc', |
33 'ppp_instance.srpc', | 34 'ppp_instance.srpc', |
34 'ppp_messaging.srpc', | 35 'ppp_messaging.srpc', |
35 'ppp_printing.srpc', | 36 'ppp_printing.srpc', |
36 'ppp_scrollbar.srpc', | 37 'ppp_scrollbar.srpc', |
37 'ppp_selection.srpc', | 38 'ppp_selection.srpc', |
38 'ppp_widget.srpc', | 39 'ppp_widget.srpc', |
39 'ppp_zoom.srpc', | 40 'ppp_zoom.srpc', |
40 ], | 41 ], |
41 name='PppRpcs', | 42 name='PppRpcs', |
42 h_file='ppp_rpc.h', | 43 h_file='ppp_rpc.h', |
43 cc_file='ppp_rpc_server.cc', | 44 cc_file='ppp_rpc_server.cc', |
44 guard='GEN_PPAPI_PROXY_PPP_RPC_H_') | 45 guard='GEN_PPAPI_PROXY_PPP_RPC_H_') |
45 | 46 |
46 env.UntrustedSrpc(is_client=True, | 47 env.UntrustedSrpc(is_client=True, |
47 srpc_files=['nacl_file.srpc', | 48 srpc_files=['nacl_file.srpc', |
48 'ppb.srpc', | 49 'ppb.srpc', |
49 'ppb_audio.srpc', | 50 'ppb_audio.srpc', |
50 'ppb_audio_config.srpc', | 51 'ppb_audio_config.srpc', |
51 'ppb_core.srpc', | 52 'ppb_core.srpc', |
52 'ppb_cursor_control.srpc', | 53 'ppb_cursor_control.srpc', |
53 'ppb_file_io.srpc', | 54 'ppb_file_io.srpc', |
54 'ppb_file_system.srpc', | 55 'ppb_file_system.srpc', |
55 'ppb_find.srpc', | 56 'ppb_find.srpc', |
56 'ppb_font.srpc', | 57 'ppb_font.srpc', |
57 'ppb_graphics_2d.srpc', | 58 'ppb_graphics_2d.srpc', |
58 'ppb_graphics_3d.srpc', | 59 'ppb_graphics_3d.srpc', |
59 'ppb_image_data.srpc', | 60 'ppb_image_data.srpc', |
| 61 'ppb_input_event.srpc', |
60 'ppb_instance.srpc', | 62 'ppb_instance.srpc', |
61 'ppb_messaging.srpc', | 63 'ppb_messaging.srpc', |
62 'ppb_pdf.srpc', | 64 'ppb_pdf.srpc', |
63 'ppb_scrollbar.srpc', | 65 'ppb_scrollbar.srpc', |
64 'ppb_testing.srpc', | 66 'ppb_testing.srpc', |
65 'ppb_url_loader.srpc', | 67 'ppb_url_loader.srpc', |
66 'ppb_url_request_info.srpc', | 68 'ppb_url_request_info.srpc', |
67 'ppb_url_response_info.srpc', | 69 'ppb_url_response_info.srpc', |
68 'ppb_widget.srpc', | 70 'ppb_widget.srpc', |
69 'ppb_zoom.srpc', | 71 'ppb_zoom.srpc', |
(...skipping 25 matching lines...) Expand all Loading... |
95 'command_buffer/client/gles2_lib.cc', | 97 'command_buffer/client/gles2_lib.cc', |
96 'command_buffer/client/mapped_memory.cc', | 98 'command_buffer/client/mapped_memory.cc', |
97 'command_buffer/client/ring_buffer.cc', | 99 'command_buffer/client/ring_buffer.cc', |
98 'command_buffer/common/id_allocator.cc', | 100 'command_buffer/common/id_allocator.cc', |
99 ] | 101 ] |
100 | 102 |
101 command_buffer_srcs = command_buffer_common_srcs + command_buffer_client_srcs; | 103 command_buffer_srcs = command_buffer_common_srcs + command_buffer_client_srcs; |
102 | 104 |
103 env.NaClSdkLibrary('ppruntime', | 105 env.NaClSdkLibrary('ppruntime', |
104 ['command_buffer_nacl.cc', | 106 ['command_buffer_nacl.cc', |
| 107 'input_event_data.cc', |
105 'object_serialize.cc', | 108 'object_serialize.cc', |
106 'plugin_callback.cc', | 109 'plugin_callback.cc', |
107 'plugin_context_3d.cc', | 110 'plugin_context_3d.cc', |
108 'plugin_globals.cc', | 111 'plugin_globals.cc', |
109 'plugin_instance_data.cc', | 112 'plugin_instance_data.cc', |
110 'plugin_main.cc', | 113 'plugin_main.cc', |
111 'plugin_nacl_file.cc', | 114 'plugin_nacl_file.cc', |
112 'plugin_opengles.cc', | 115 'plugin_opengles.cc', |
113 'plugin_ppb.cc', | 116 'plugin_ppb.cc', |
114 'plugin_ppb_audio.cc', | 117 'plugin_ppb_audio.cc', |
115 'plugin_ppb_audio_config.cc', | 118 'plugin_ppb_audio_config.cc', |
116 'plugin_ppb_buffer.cc', | 119 'plugin_ppb_buffer.cc', |
117 'plugin_ppb_core.cc', | 120 'plugin_ppb_core.cc', |
118 'plugin_ppb_cursor_control.cc', | 121 'plugin_ppb_cursor_control.cc', |
119 'plugin_ppb_file_io.cc', | 122 'plugin_ppb_file_io.cc', |
120 'plugin_ppb_file_system.cc', | 123 'plugin_ppb_file_system.cc', |
121 'plugin_ppb_file_ref.cc', | 124 'plugin_ppb_file_ref.cc', |
122 'plugin_ppb_find.cc', | 125 'plugin_ppb_find.cc', |
123 'plugin_ppb_font.cc', | 126 'plugin_ppb_font.cc', |
124 'plugin_ppb_graphics_2d.cc', | 127 'plugin_ppb_graphics_2d.cc', |
125 'plugin_ppb_image_data.cc', | 128 'plugin_ppb_image_data.cc', |
| 129 'plugin_ppb_input_event.cc', |
126 'plugin_ppb_instance.cc', | 130 'plugin_ppb_instance.cc', |
127 'plugin_ppb_memory.cc', | 131 'plugin_ppb_memory.cc', |
128 'plugin_ppb_messaging.cc', | 132 'plugin_ppb_messaging.cc', |
129 'plugin_ppb_pdf.cc', | 133 'plugin_ppb_pdf.cc', |
130 'plugin_ppb_scrollbar.cc', | 134 'plugin_ppb_scrollbar.cc', |
131 'plugin_ppb_testing.cc', | 135 'plugin_ppb_testing.cc', |
132 'plugin_ppb_url_loader.cc', | 136 'plugin_ppb_url_loader.cc', |
133 'plugin_ppb_url_request_info.cc', | 137 'plugin_ppb_url_request_info.cc', |
134 'plugin_ppb_url_response_info.cc', | 138 'plugin_ppb_url_response_info.cc', |
135 'plugin_ppb_var.cc', | 139 'plugin_ppb_var.cc', |
136 'plugin_ppb_widget.cc', | 140 'plugin_ppb_widget.cc', |
137 'plugin_ppb_zoom.cc', | 141 'plugin_ppb_zoom.cc', |
138 'plugin_ppp_find_rpc_server.cc', | 142 'plugin_ppp_find_rpc_server.cc', |
| 143 'plugin_ppp_input_event_rpc_server.cc', |
139 'plugin_ppp_instance_rpc_server.cc', | 144 'plugin_ppp_instance_rpc_server.cc', |
140 'plugin_ppp_messaging_rpc_server.cc', | 145 'plugin_ppp_messaging_rpc_server.cc', |
141 'plugin_ppp_printing_rpc_server.cc', | 146 'plugin_ppp_printing_rpc_server.cc', |
142 'plugin_ppp_scrollbar_rpc_server.cc', | 147 'plugin_ppp_scrollbar_rpc_server.cc', |
143 'plugin_ppp_selection_rpc_server.cc', | 148 'plugin_ppp_selection_rpc_server.cc', |
144 'plugin_ppp_widget_rpc_server.cc', | 149 'plugin_ppp_widget_rpc_server.cc', |
145 'plugin_ppp_zoom_rpc_server.cc', | 150 'plugin_ppp_zoom_rpc_server.cc', |
146 'plugin_ppp_rpc_server.cc', | 151 'plugin_ppp_rpc_server.cc', |
147 'plugin_resource.cc', | 152 'plugin_resource.cc', |
148 'plugin_resource_tracker.cc', | 153 'plugin_resource_tracker.cc', |
(...skipping 13 matching lines...) Expand all Loading... |
162 'gio', | 167 'gio', |
163 'platform', | 168 'platform', |
164 ]) | 169 ]) |
165 | 170 |
166 env.Depends('ppruntime', 'srpc_untrusted') | 171 env.Depends('ppruntime', 'srpc_untrusted') |
167 header_install = env.AddHeaderToSdk(['ppruntime.h']) | 172 header_install = env.AddHeaderToSdk(['ppruntime.h']) |
168 env.AddLibraryToSdk(['ppruntime']) | 173 env.AddLibraryToSdk(['ppruntime']) |
169 | 174 |
170 # Clients that overload main() will use ppruntime.h. | 175 # Clients that overload main() will use ppruntime.h. |
171 env.Requires('ppruntime', header_install) | 176 env.Requires('ppruntime', header_install) |
OLD | NEW |