blob: b99e463b880526eb3f8ab3398f2275d481312c41 [file] [log] [blame]
[email protected]6117b82da2012-01-07 00:51:011# Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]1f081e7a2011-12-01 19:33:212# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6 'variables': {
[email protected]70919502011-12-16 02:30:037 'c_source_files': [
[email protected]1f081e7a2011-12-01 19:33:218 'c/pp_bool.h',
9 'c/pp_completion_callback.h',
10 'c/pp_errors.h',
11 'c/pp_file_info.h',
12 'c/pp_graphics_3d.h',
13 'c/pp_input_event.h',
14 'c/pp_instance.h',
15 'c/pp_macros.h',
16 'c/pp_module.h',
17 'c/pp_point.h',
18 'c/pp_rect.h',
19 'c/pp_resource.h',
20 'c/pp_size.h',
21 'c/pp_stdint.h',
22 'c/pp_time.h',
23 'c/pp_var.h',
24 'c/ppb.h',
25 'c/ppb_audio.h',
26 'c/ppb_audio_config.h',
27 'c/ppb_core.h',
28 'c/ppb_file_io.h',
29 'c/ppb_file_ref.h',
30 'c/ppb_file_system.h',
31 'c/ppb_fullscreen.h',
32 'c/ppb_graphics_2d.h',
33 'c/ppb_graphics_3d.h',
34 'c/ppb_image_data.h',
35 'c/ppb_input_event.h',
36 'c/ppb_instance.h',
37 'c/ppb_messaging.h',
38 'c/ppb_mouse_lock.h',
39 'c/ppb_opengles2.h',
40 'c/ppb_url_loader.h',
41 'c/ppb_url_request_info.h',
42 'c/ppb_url_response_info.h',
43 'c/ppb_var.h',
[email protected]9c6e0de2012-01-27 04:55:5544 'c/ppb_var_array_buffer.h',
[email protected]e8f07ac2012-01-03 17:43:3645 'c/ppb_view.h',
[email protected]53508222012-01-27 09:42:4146 'c/ppb_websocket.h',
[email protected]1f081e7a2011-12-01 19:33:2147 'c/ppp.h',
48 'c/ppp_graphics_3d.h',
49 'c/ppp_input_event.h',
50 'c/ppp_instance.h',
51 'c/ppp_messaging.h',
52 'c/ppp_mouse_lock.h',
53
54 # Dev interfaces.
55 'c/dev/pp_cursor_type_dev.h',
56 'c/dev/pp_video_dev.h',
57 'c/dev/ppb_buffer_dev.h',
58 'c/dev/ppb_char_set_dev.h',
59 'c/dev/ppb_console_dev.h',
60 'c/dev/ppb_cursor_control_dev.h',
[email protected]dca65e12012-01-21 07:54:1761 'c/dev/ppb_device_ref_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2162 'c/dev/ppb_directory_reader_dev.h',
63 'c/dev/ppb_file_chooser_dev.h',
64 'c/dev/ppb_find_dev.h',
65 'c/dev/ppb_font_dev.h',
66 'c/dev/ppb_fullscreen_dev.h',
[email protected]0a424af2012-01-10 19:24:2867 'c/dev/ppb_gamepad_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2168 'c/dev/ppb_ime_input_event_dev.h',
69 'c/dev/ppb_memory_dev.h',
[email protected]231a96b72012-01-20 04:17:4070 'c/dev/ppb_message_loop_dev.h',
[email protected]6117b82da2012-01-07 00:51:0171 'c/dev/ppb_resource_array_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2172 'c/dev/ppb_scrollbar_dev.h',
73 'c/dev/ppb_testing_dev.h',
74 'c/dev/ppb_url_util_dev.h',
75 'c/dev/ppb_video_decoder_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2176 'c/dev/ppb_widget_dev.h',
77 'c/dev/ppb_zoom_dev.h',
78 'c/dev/ppp_cursor_control_dev.h',
79 'c/dev/ppp_find_dev.h',
80 'c/dev/ppp_network_state_dev.h',
81 'c/dev/ppp_scrollbar_dev.h',
82 'c/dev/ppp_selection_dev.h',
83 'c/dev/ppb_text_input_dev.h',
84 'c/dev/ppp_video_decoder_dev.h',
85 'c/dev/ppp_widget_dev.h',
86 'c/dev/ppp_zoom_dev.h',
87
88 # Private interfaces.
89 'c/private/ppb_flash.h',
90 'c/private/ppb_flash_clipboard.h',
91 'c/private/ppb_flash_file.h',
92 'c/private/ppb_flash_fullscreen.h',
93 'c/private/ppb_flash_menu.h',
[email protected]cd2af392012-01-31 09:19:1794 'c/private/ppb_flash_message_loop.h',
[email protected]1f081e7a2011-12-01 19:33:2195 'c/private/ppb_flash_net_connector.h',
96 'c/private/ppb_flash_tcp_socket.h',
97 'c/private/ppb_flash_udp_socket.h',
98 'c/private/ppb_gpu_blacklist_private.h',
99 'c/private/ppb_instance_private.h',
100 'c/private/ppb_nacl_private.h',
101 'c/private/ppb_net_address_private.h',
102 'c/private/ppb_pdf.h',
103 'c/private/ppb_proxy_private.h',
104 'c/private/ppp_instance_private.h',
105 'c/private/ppb_tcp_socket_private.h',
106 'c/private/ppb_udp_socket_private.h',
107
108 # Deprecated interfaces.
109 'c/dev/deprecated_bool.h',
110 'c/dev/ppb_var_deprecated.h',
111 'c/dev/ppp_class_deprecated.h',
112
113 # Trusted interfaces.
114 'c/trusted/ppb_audio_trusted.h',
115 'c/trusted/ppb_broker_trusted.h',
[email protected]ed9b7932012-02-21 18:11:47116 'c/trusted/ppb_browser_font_trusted.h',
[email protected]1f081e7a2011-12-01 19:33:21117 'c/trusted/ppb_buffer_trusted.h',
118 'c/trusted/ppb_file_chooser_trusted.h',
119 'c/trusted/ppb_file_io_trusted.h',
120 'c/trusted/ppb_graphics_3d_trusted.h',
121 'c/trusted/ppb_image_data_trusted.h',
122 'c/trusted/ppb_url_loader_trusted.h',
123 'c/trusted/ppp_broker.h',
124 ],
[email protected]70919502011-12-16 02:30:03125 'cpp_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21126 'cpp/audio.cc',
127 'cpp/audio.h',
128 'cpp/audio_config.cc',
129 'cpp/audio_config.h',
130 'cpp/completion_callback.cc',
131 'cpp/completion_callback.h',
132 'cpp/core.cc',
133 'cpp/core.h',
134 'cpp/file_io.cc',
135 'cpp/file_io.h',
136 'cpp/file_ref.cc',
137 'cpp/file_ref.h',
138 'cpp/file_system.cc',
139 'cpp/file_system.h',
140 'cpp/fullscreen.cc',
141 'cpp/fullscreen.h',
142 'cpp/graphics_2d.cc',
143 'cpp/graphics_2d.h',
144 'cpp/graphics_3d.cc',
145 'cpp/graphics_3d.h',
146 'cpp/graphics_3d_client.cc',
147 'cpp/graphics_3d_client.h',
148 'cpp/image_data.cc',
149 'cpp/image_data.h',
150 'cpp/input_event.cc',
151 'cpp/input_event.h',
152 'cpp/instance.cc',
153 'cpp/instance.h',
[email protected]09af0f72012-02-27 20:23:19154 'cpp/instance_handle.cc',
155 'cpp/instance_handle.h',
[email protected]1f081e7a2011-12-01 19:33:21156 'cpp/logging.h',
157 'cpp/module.cc',
158 'cpp/module.h',
159 'cpp/module_impl.h',
160 'cpp/mouse_lock.cc',
161 'cpp/mouse_lock.h',
[email protected]1f081e7a2011-12-01 19:33:21162 'cpp/point.h',
163 'cpp/rect.cc',
164 'cpp/rect.h',
165 'cpp/resource.cc',
166 'cpp/resource.h',
167 'cpp/size.h',
168 'cpp/url_loader.cc',
169 'cpp/url_loader.h',
170 'cpp/url_request_info.cc',
171 'cpp/url_request_info.h',
172 'cpp/url_response_info.cc',
173 'cpp/url_response_info.h',
174 'cpp/var.cc',
175 'cpp/var.h',
[email protected]9c6e0de2012-01-27 04:55:55176 'cpp/var_array_buffer.cc',
177 'cpp/var_array_buffer.h',
[email protected]e8f07ac2012-01-03 17:43:36178 'cpp/view.cc',
179 'cpp/view.h',
[email protected]53508222012-01-27 09:42:41180 'cpp/websocket.cc',
181 'cpp/websocket.h',
[email protected]1f081e7a2011-12-01 19:33:21182
183 # Dev interfaces.
184 'cpp/dev/audio_input_dev.cc',
185 'cpp/dev/audio_input_dev.h',
186 'cpp/dev/buffer_dev.cc',
187 'cpp/dev/buffer_dev.h',
[email protected]dca65e12012-01-21 07:54:17188 'cpp/dev/device_ref_dev.cc',
189 'cpp/dev/device_ref_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21190 'cpp/dev/directory_entry_dev.cc',
191 'cpp/dev/directory_entry_dev.h',
192 'cpp/dev/directory_reader_dev.cc',
193 'cpp/dev/directory_reader_dev.h',
194 'cpp/dev/file_chooser_dev.cc',
195 'cpp/dev/file_chooser_dev.h',
196 'cpp/dev/find_dev.cc',
197 'cpp/dev/find_dev.h',
198 'cpp/dev/font_dev.cc',
199 'cpp/dev/font_dev.h',
200 'cpp/dev/fullscreen_dev.cc',
201 'cpp/dev/fullscreen_dev.h',
202 'cpp/dev/ime_input_event_dev.cc',
203 'cpp/dev/ime_input_event_dev.h',
204 'cpp/dev/memory_dev.cc',
205 'cpp/dev/memory_dev.h',
[email protected]231a96b72012-01-20 04:17:40206 'cpp/dev/message_loop_dev.cc',
207 'cpp/dev/message_loop_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21208 'cpp/dev/printing_dev.cc',
209 'cpp/dev/printing_dev.h',
[email protected]6117b82da2012-01-07 00:51:01210 'cpp/dev/resource_array_dev.cc',
211 'cpp/dev/resource_array_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21212 'cpp/dev/scrollbar_dev.cc',
213 'cpp/dev/scrollbar_dev.h',
214 'cpp/dev/selection_dev.cc',
215 'cpp/dev/selection_dev.h',
216 'cpp/dev/text_input_dev.cc',
217 'cpp/dev/text_input_dev.h',
218 'cpp/dev/url_util_dev.cc',
219 'cpp/dev/url_util_dev.h',
220 'cpp/dev/video_capture_client_dev.cc',
221 'cpp/dev/video_capture_client_dev.h',
222 'cpp/dev/video_capture_dev.cc',
223 'cpp/dev/video_capture_dev.h',
224 'cpp/dev/video_decoder_client_dev.cc',
225 'cpp/dev/video_decoder_client_dev.h',
226 'cpp/dev/video_decoder_dev.cc',
227 'cpp/dev/video_decoder_dev.h',
228 'cpp/dev/widget_client_dev.cc',
229 'cpp/dev/widget_client_dev.h',
230 'cpp/dev/widget_dev.cc',
231 'cpp/dev/widget_dev.h',
232 'cpp/dev/zoom_dev.cc',
233 'cpp/dev/zoom_dev.h',
234
235 # Deprecated interfaces.
236 'cpp/dev/scriptable_object_deprecated.h',
237 'cpp/dev/scriptable_object_deprecated.cc',
238
239 # Private interfaces.
[email protected]4ee95fa42011-12-16 20:10:08240 'cpp/private/flash.cc',
241 'cpp/private/flash.h',
[email protected]cf0f7d92012-01-14 01:24:54242 'cpp/private/flash_clipboard.cc',
243 'cpp/private/flash_clipboard.h',
[email protected]1f081e7a2011-12-01 19:33:21244 'cpp/private/flash_fullscreen.cc',
245 'cpp/private/flash_fullscreen.h',
246 'cpp/private/flash_menu.cc',
247 'cpp/private/flash_menu.h',
[email protected]cd2af392012-01-31 09:19:17248 'cpp/private/flash_message_loop.cc',
249 'cpp/private/flash_message_loop.h',
[email protected]1f081e7a2011-12-01 19:33:21250 'cpp/private/flash_net_connector.cc',
251 'cpp/private/flash_net_connector.h',
252 'cpp/private/instance_private.cc',
253 'cpp/private/instance_private.h',
254 'cpp/private/net_address_private.cc',
255 'cpp/private/net_address_private.h',
256 'cpp/private/tcp_socket_private.cc',
257 'cpp/private/tcp_socket_private.h',
258 'cpp/private/udp_socket_private.cc',
259 'cpp/private/udp_socket_private.h',
260 'cpp/private/var_private.cc',
261 'cpp/private/var_private.h',
262
263 # Trusted interfaces.
[email protected]7a26d92e2012-02-17 20:15:25264 'cpp/trusted/browser_font_trusted.cc',
265 'cpp/trusted/browser_font_trusted.h',
[email protected]1f081e7a2011-12-01 19:33:21266 'cpp/trusted/file_chooser_trusted.cc',
267 'cpp/trusted/file_chooser_trusted.h',
[email protected]6c8011b2011-12-15 23:26:56268 'cpp/trusted/file_io_trusted.cc',
269 'cpp/trusted/file_io_trusted.h',
[email protected]ae5ff9ae2012-01-06 22:50:33270
271 # Utility sources.
272 'utility/completion_callback_factory.h',
273 'utility/non_thread_safe_ref_count.h',
274 'utility/graphics/paint_aggregator.cc',
275 'utility/graphics/paint_aggregator.h',
276 'utility/graphics/paint_manager.cc',
277 'utility/graphics/paint_manager.h',
[email protected]15b12242012-01-26 19:28:47278 'utility/threading/simple_thread.cc',
279 'utility/threading/simple_thread.h',
[email protected]2785cb92012-02-29 20:22:09280 'utility/websocket/websocket_api.cc',
281 'utility/websocket/websocket_api.h',
[email protected]1f081e7a2011-12-01 19:33:21282 ],
283 #
284 # Common Testing source for trusted and untrusted (NaCl) pugins.
285 #
[email protected]70919502011-12-16 02:30:03286 'test_common_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21287 # Common test files
288 'tests/all_c_includes.h',
289 'tests/all_cpp_includes.h',
290 'tests/arch_dependent_sizes_32.h',
291 'tests/arch_dependent_sizes_64.h',
292 'tests/pp_thread.h',
293 'tests/test_case.cc',
294 'tests/test_case.h',
[email protected]9e855c0a2012-01-18 13:36:55295 'tests/test_net_address_private_untrusted.cc',
296 'tests/test_net_address_private_untrusted.h',
[email protected]20e31122012-02-22 15:56:03297 'tests/test_tcp_server_socket_private.cc',
298 'tests/test_tcp_server_socket_private.h',
[email protected]ef5e98e2011-12-06 09:49:18299 'tests/test_tcp_socket_private_shared.cc',
300 'tests/test_tcp_socket_private_shared.h',
301 'tests/test_udp_socket_private_shared.cc',
302 'tests/test_udp_socket_private_shared.h',
[email protected]1f081e7a2011-12-01 19:33:21303 'tests/test_utils.cc',
304 'tests/testing_instance.cc',
305 'tests/testing_instance.h',
[email protected]ef5e98e2011-12-06 09:49:18306
[email protected]1f081e7a2011-12-01 19:33:21307 # Compile-time tests
308 'tests/test_c_includes.c',
309 'tests/test_cpp_includes.cc',
310 'tests/test_struct_sizes.c',
311 ],
312 #
313 # Sources used in NaCl tests.
314 #
[email protected]70919502011-12-16 02:30:03315 'test_nacl_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21316 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
317 'tests/test_audio_config.cc',
318 'tests/test_cursor_control.cc',
319 'tests/test_directory_reader.cc',
320 'tests/test_file_io.cc',
321 'tests/test_file_ref.cc',
322 'tests/test_file_system.cc',
[email protected]08610102011-12-17 14:24:30323 'tests/test_input_event.cc',
[email protected]1f081e7a2011-12-01 19:33:21324 'tests/test_memory.cc',
325 'tests/test_graphics_2d.cc',
326 'tests/test_image_data.cc',
[email protected]240502342011-12-22 20:07:49327 'tests/test_memory.cc',
[email protected]1f081e7a2011-12-01 19:33:21328 'tests/test_paint_aggregator.cc',
[email protected]08610102011-12-17 14:24:30329 'tests/test_post_message.cc',
[email protected]1f081e7a2011-12-01 19:33:21330 'tests/test_scrollbar.cc',
[email protected]240502342011-12-22 20:07:49331 'tests/test_tcp_socket_private_disallowed.cc',
332 'tests/test_udp_socket_private_disallowed.cc',
[email protected]1f081e7a2011-12-01 19:33:21333 'tests/test_url_loader.cc',
[email protected]a333c232012-01-27 23:14:27334 'tests/test_url_request.cc',
[email protected]1f081e7a2011-12-01 19:33:21335 'tests/test_var.cc',
[email protected]09c37ba2012-01-05 18:00:33336 'tests/test_view.cc',
[email protected]9082aa5b2012-01-19 08:44:47337 'tests/test_websocket.cc',
[email protected]1f081e7a2011-12-01 19:33:21338 ],
339 #
340 # Sources used in trusted tests.
341 #
[email protected]70919502011-12-16 02:30:03342 'test_trusted_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21343 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
344 'tests/test_audio.cc',
345 'tests/test_audio.h',
346 'tests/test_audio_config.cc',
347 'tests/test_audio_config.h',
348 'tests/test_broker.cc',
349 'tests/test_broker.h',
[email protected]7a26d92e2012-02-17 20:15:25350 'tests/test_browser_font.cc',
351 'tests/test_browser_font.h',
[email protected]1f081e7a2011-12-01 19:33:21352 'tests/test_buffer.cc',
353 'tests/test_buffer.h',
354 'tests/test_c_includes.c',
355 'tests/test_char_set.cc',
356 'tests/test_char_set.h',
357 'tests/test_core.cc',
358 'tests/test_core.h',
359 'tests/test_cpp_includes.cc',
360 'tests/test_crypto.cc',
361 'tests/test_crypto.h',
362 'tests/test_cursor_control.cc',
363 'tests/test_cursor_control.h',
364 'tests/test_directory_reader.cc',
365 'tests/test_directory_reader.h',
366 'tests/test_file_io.cc',
367 'tests/test_file_io.h',
368 'tests/test_file_ref.cc',
369 'tests/test_file_ref.h',
370 'tests/test_file_system.cc',
371 'tests/test_file_system.h',
372 'tests/test_flash.cc',
373 'tests/test_flash.h',
374 'tests/test_flash_clipboard.cc',
375 'tests/test_flash_clipboard.h',
376 'tests/test_flash_fullscreen.cc',
377 'tests/test_flash_fullscreen.h',
[email protected]cd2af392012-01-31 09:19:17378 'tests/test_flash_message_loop.cc',
379 'tests/test_flash_message_loop.h',
[email protected]1f081e7a2011-12-01 19:33:21380 'tests/test_fullscreen.cc',
381 'tests/test_fullscreen.h',
382 'tests/test_graphics_2d.cc',
383 'tests/test_graphics_2d.h',
384 'tests/test_graphics_3d.cc',
385 'tests/test_graphics_3d.h',
386 'tests/test_image_data.cc',
387 'tests/test_image_data.h',
388 'tests/test_input_event.cc',
389 'tests/test_input_event.h',
390 'tests/test_memory.cc',
391 'tests/test_memory.h',
392 'tests/test_net_address_private.cc',
393 'tests/test_net_address_private.h',
394 'tests/test_paint_aggregator.cc',
395 'tests/test_paint_aggregator.h',
396 'tests/test_post_message.cc',
397 'tests/test_post_message.h',
[email protected]6117b82da2012-01-07 00:51:01398 'tests/test_resource_array.cc',
399 'tests/test_resource_array.h',
[email protected]1f081e7a2011-12-01 19:33:21400 'tests/test_scrollbar.cc',
401 'tests/test_scrollbar.h',
402 'tests/test_struct_sizes.c',
403 'tests/test_tcp_socket_private.cc',
404 'tests/test_tcp_socket_private.h',
405 'tests/test_uma.cc',
406 'tests/test_uma.h',
407 'tests/test_url_loader.cc',
408 'tests/test_url_loader.h',
[email protected]a333c232012-01-27 23:14:27409 'tests/test_url_request.cc',
410 'tests/test_url_request.h',
[email protected]1f081e7a2011-12-01 19:33:21411 'tests/test_url_util.cc',
412 'tests/test_url_util.h',
413 'tests/test_utils.cc',
414 'tests/test_utils.h',
415 'tests/test_var.cc',
416 'tests/test_var.h',
[email protected]09c37ba2012-01-05 18:00:33417 'tests/test_view.cc',
418 'tests/test_view.h',
[email protected]1f081e7a2011-12-01 19:33:21419 'tests/test_video_decoder.cc',
420 'tests/test_video_decoder.h',
421 'tests/test_websocket.cc',
422 'tests/test_websocket.h',
423
424 # Deprecated test cases.
425 'tests/test_instance_deprecated.cc',
426 'tests/test_instance_deprecated.h',
427 'tests/test_var_deprecated.cc',
428 'tests/test_var_deprecated.h',
429 ],
430 },
431 'conditions': [
432 ['p2p_apis==1', {
433 'variables': {
[email protected]70919502011-12-16 02:30:03434 'c_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21435 'c/dev/ppb_transport_dev.h',
436 ],
[email protected]70919502011-12-16 02:30:03437 'cpp_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21438 'cpp/dev/transport_dev.cc',
439 'cpp/dev/transport_dev.h',
440 ],
441 },
442 }],
443 ],
[email protected]ddd61db2011-12-07 06:49:00444}