blob: 20d093ec225743bb05488d9ab5223583e98ada28 [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]207394bf2012-03-08 20:43:188 'c/pp_array_output.h',
[email protected]1f081e7a2011-12-01 19:33:219 'c/pp_bool.h',
10 'c/pp_completion_callback.h',
11 'c/pp_errors.h',
12 'c/pp_file_info.h',
13 'c/pp_graphics_3d.h',
14 'c/pp_input_event.h',
15 'c/pp_instance.h',
16 'c/pp_macros.h',
17 'c/pp_module.h',
18 'c/pp_point.h',
19 'c/pp_rect.h',
20 'c/pp_resource.h',
21 'c/pp_size.h',
22 'c/pp_stdint.h',
23 'c/pp_time.h',
24 'c/pp_var.h',
25 'c/ppb.h',
26 'c/ppb_audio.h',
27 'c/ppb_audio_config.h',
28 'c/ppb_core.h',
29 'c/ppb_file_io.h',
30 'c/ppb_file_ref.h',
31 'c/ppb_file_system.h',
32 'c/ppb_fullscreen.h',
[email protected]d5cc7192012-03-07 16:53:1633 'c/ppb_gamepad.h',
[email protected]1f081e7a2011-12-01 19:33:2134 'c/ppb_graphics_2d.h',
35 'c/ppb_graphics_3d.h',
36 'c/ppb_image_data.h',
37 'c/ppb_input_event.h',
38 'c/ppb_instance.h',
39 'c/ppb_messaging.h',
40 'c/ppb_mouse_lock.h',
41 'c/ppb_opengles2.h',
42 'c/ppb_url_loader.h',
43 'c/ppb_url_request_info.h',
44 'c/ppb_url_response_info.h',
45 'c/ppb_var.h',
[email protected]9c6e0de2012-01-27 04:55:5546 'c/ppb_var_array_buffer.h',
[email protected]e8f07ac2012-01-03 17:43:3647 'c/ppb_view.h',
[email protected]53508222012-01-27 09:42:4148 'c/ppb_websocket.h',
[email protected]1f081e7a2011-12-01 19:33:2149 'c/ppp.h',
50 'c/ppp_graphics_3d.h',
51 'c/ppp_input_event.h',
52 'c/ppp_instance.h',
53 'c/ppp_messaging.h',
54 'c/ppp_mouse_lock.h',
55
56 # Dev interfaces.
57 'c/dev/pp_cursor_type_dev.h',
58 'c/dev/pp_video_dev.h',
59 'c/dev/ppb_buffer_dev.h',
60 'c/dev/ppb_char_set_dev.h',
61 'c/dev/ppb_console_dev.h',
62 'c/dev/ppb_cursor_control_dev.h',
[email protected]dca65e12012-01-21 07:54:1763 'c/dev/ppb_device_ref_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2164 'c/dev/ppb_directory_reader_dev.h',
65 'c/dev/ppb_file_chooser_dev.h',
66 'c/dev/ppb_find_dev.h',
67 'c/dev/ppb_font_dev.h',
68 'c/dev/ppb_fullscreen_dev.h',
69 'c/dev/ppb_ime_input_event_dev.h',
70 'c/dev/ppb_memory_dev.h',
[email protected]231a96b72012-01-20 04:17:4071 'c/dev/ppb_message_loop_dev.h',
[email protected]6117b82da2012-01-07 00:51:0172 'c/dev/ppb_resource_array_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2173 'c/dev/ppb_scrollbar_dev.h',
74 'c/dev/ppb_testing_dev.h',
75 'c/dev/ppb_url_util_dev.h',
76 'c/dev/ppb_video_decoder_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2177 'c/dev/ppb_widget_dev.h',
78 'c/dev/ppb_zoom_dev.h',
79 'c/dev/ppp_cursor_control_dev.h',
80 'c/dev/ppp_find_dev.h',
81 'c/dev/ppp_network_state_dev.h',
82 'c/dev/ppp_scrollbar_dev.h',
83 'c/dev/ppp_selection_dev.h',
84 'c/dev/ppb_text_input_dev.h',
85 'c/dev/ppp_video_decoder_dev.h',
86 'c/dev/ppp_widget_dev.h',
87 'c/dev/ppp_zoom_dev.h',
88
89 # Private interfaces.
90 'c/private/ppb_flash.h',
91 'c/private/ppb_flash_clipboard.h',
92 'c/private/ppb_flash_file.h',
93 'c/private/ppb_flash_fullscreen.h',
94 'c/private/ppb_flash_menu.h',
[email protected]cd2af392012-01-31 09:19:1795 'c/private/ppb_flash_message_loop.h',
[email protected]1f081e7a2011-12-01 19:33:2196 'c/private/ppb_flash_net_connector.h',
97 'c/private/ppb_flash_tcp_socket.h',
98 'c/private/ppb_flash_udp_socket.h',
99 'c/private/ppb_gpu_blacklist_private.h',
100 'c/private/ppb_instance_private.h',
101 'c/private/ppb_nacl_private.h',
102 'c/private/ppb_net_address_private.h',
103 'c/private/ppb_pdf.h',
104 'c/private/ppb_proxy_private.h',
105 'c/private/ppp_instance_private.h',
[email protected]d2e03f82012-03-05 08:12:38106 'c/private/ppb_network_list_private.h',
107 'c/private/ppb_network_monitor_private.h',
[email protected]1f081e7a2011-12-01 19:33:21108 'c/private/ppb_tcp_socket_private.h',
109 'c/private/ppb_udp_socket_private.h',
110
111 # Deprecated interfaces.
112 'c/dev/deprecated_bool.h',
113 'c/dev/ppb_var_deprecated.h',
114 'c/dev/ppp_class_deprecated.h',
115
116 # Trusted interfaces.
117 'c/trusted/ppb_audio_trusted.h',
118 'c/trusted/ppb_broker_trusted.h',
[email protected]ed9b7932012-02-21 18:11:47119 'c/trusted/ppb_browser_font_trusted.h',
[email protected]1f081e7a2011-12-01 19:33:21120 'c/trusted/ppb_buffer_trusted.h',
121 'c/trusted/ppb_file_chooser_trusted.h',
122 'c/trusted/ppb_file_io_trusted.h',
123 'c/trusted/ppb_graphics_3d_trusted.h',
124 'c/trusted/ppb_image_data_trusted.h',
125 'c/trusted/ppb_url_loader_trusted.h',
126 'c/trusted/ppp_broker.h',
127 ],
[email protected]70919502011-12-16 02:30:03128 'cpp_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21129 'cpp/audio.cc',
130 'cpp/audio.h',
131 'cpp/audio_config.cc',
132 'cpp/audio_config.h',
133 'cpp/completion_callback.cc',
134 'cpp/completion_callback.h',
135 'cpp/core.cc',
136 'cpp/core.h',
137 'cpp/file_io.cc',
138 'cpp/file_io.h',
139 'cpp/file_ref.cc',
140 'cpp/file_ref.h',
141 'cpp/file_system.cc',
142 'cpp/file_system.h',
143 'cpp/fullscreen.cc',
144 'cpp/fullscreen.h',
145 'cpp/graphics_2d.cc',
146 'cpp/graphics_2d.h',
147 'cpp/graphics_3d.cc',
148 'cpp/graphics_3d.h',
149 'cpp/graphics_3d_client.cc',
150 'cpp/graphics_3d_client.h',
151 'cpp/image_data.cc',
152 'cpp/image_data.h',
153 'cpp/input_event.cc',
154 'cpp/input_event.h',
155 'cpp/instance.cc',
156 'cpp/instance.h',
[email protected]09af0f72012-02-27 20:23:19157 'cpp/instance_handle.cc',
158 'cpp/instance_handle.h',
[email protected]1f081e7a2011-12-01 19:33:21159 'cpp/logging.h',
160 'cpp/module.cc',
161 'cpp/module.h',
162 'cpp/module_impl.h',
163 'cpp/mouse_lock.cc',
164 'cpp/mouse_lock.h',
[email protected]1f081e7a2011-12-01 19:33:21165 'cpp/point.h',
166 'cpp/rect.cc',
167 'cpp/rect.h',
168 'cpp/resource.cc',
169 'cpp/resource.h',
170 'cpp/size.h',
171 'cpp/url_loader.cc',
172 'cpp/url_loader.h',
173 'cpp/url_request_info.cc',
174 'cpp/url_request_info.h',
175 'cpp/url_response_info.cc',
176 'cpp/url_response_info.h',
177 'cpp/var.cc',
178 'cpp/var.h',
[email protected]9c6e0de2012-01-27 04:55:55179 'cpp/var_array_buffer.cc',
180 'cpp/var_array_buffer.h',
[email protected]e8f07ac2012-01-03 17:43:36181 'cpp/view.cc',
182 'cpp/view.h',
[email protected]53508222012-01-27 09:42:41183 'cpp/websocket.cc',
184 'cpp/websocket.h',
[email protected]1f081e7a2011-12-01 19:33:21185
186 # Dev interfaces.
187 'cpp/dev/audio_input_dev.cc',
188 'cpp/dev/audio_input_dev.h',
189 'cpp/dev/buffer_dev.cc',
190 'cpp/dev/buffer_dev.h',
[email protected]dca65e12012-01-21 07:54:17191 'cpp/dev/device_ref_dev.cc',
192 'cpp/dev/device_ref_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21193 'cpp/dev/directory_entry_dev.cc',
194 'cpp/dev/directory_entry_dev.h',
195 'cpp/dev/directory_reader_dev.cc',
196 'cpp/dev/directory_reader_dev.h',
197 'cpp/dev/file_chooser_dev.cc',
198 'cpp/dev/file_chooser_dev.h',
199 'cpp/dev/find_dev.cc',
200 'cpp/dev/find_dev.h',
201 'cpp/dev/font_dev.cc',
202 'cpp/dev/font_dev.h',
203 'cpp/dev/fullscreen_dev.cc',
204 'cpp/dev/fullscreen_dev.h',
205 'cpp/dev/ime_input_event_dev.cc',
206 'cpp/dev/ime_input_event_dev.h',
207 'cpp/dev/memory_dev.cc',
208 'cpp/dev/memory_dev.h',
[email protected]231a96b72012-01-20 04:17:40209 'cpp/dev/message_loop_dev.cc',
210 'cpp/dev/message_loop_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21211 'cpp/dev/printing_dev.cc',
212 'cpp/dev/printing_dev.h',
[email protected]6117b82da2012-01-07 00:51:01213 'cpp/dev/resource_array_dev.cc',
214 'cpp/dev/resource_array_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21215 'cpp/dev/scrollbar_dev.cc',
216 'cpp/dev/scrollbar_dev.h',
217 'cpp/dev/selection_dev.cc',
218 'cpp/dev/selection_dev.h',
219 'cpp/dev/text_input_dev.cc',
220 'cpp/dev/text_input_dev.h',
221 'cpp/dev/url_util_dev.cc',
222 'cpp/dev/url_util_dev.h',
223 'cpp/dev/video_capture_client_dev.cc',
224 'cpp/dev/video_capture_client_dev.h',
225 'cpp/dev/video_capture_dev.cc',
226 'cpp/dev/video_capture_dev.h',
227 'cpp/dev/video_decoder_client_dev.cc',
228 'cpp/dev/video_decoder_client_dev.h',
229 'cpp/dev/video_decoder_dev.cc',
230 'cpp/dev/video_decoder_dev.h',
231 'cpp/dev/widget_client_dev.cc',
232 'cpp/dev/widget_client_dev.h',
233 'cpp/dev/widget_dev.cc',
234 'cpp/dev/widget_dev.h',
235 'cpp/dev/zoom_dev.cc',
236 'cpp/dev/zoom_dev.h',
237
238 # Deprecated interfaces.
239 'cpp/dev/scriptable_object_deprecated.h',
240 'cpp/dev/scriptable_object_deprecated.cc',
241
242 # Private interfaces.
[email protected]4ee95fa42011-12-16 20:10:08243 'cpp/private/flash.cc',
244 'cpp/private/flash.h',
[email protected]cf0f7d92012-01-14 01:24:54245 'cpp/private/flash_clipboard.cc',
246 'cpp/private/flash_clipboard.h',
[email protected]1f081e7a2011-12-01 19:33:21247 'cpp/private/flash_fullscreen.cc',
248 'cpp/private/flash_fullscreen.h',
249 'cpp/private/flash_menu.cc',
250 'cpp/private/flash_menu.h',
[email protected]cd2af392012-01-31 09:19:17251 'cpp/private/flash_message_loop.cc',
252 'cpp/private/flash_message_loop.h',
[email protected]1f081e7a2011-12-01 19:33:21253 'cpp/private/flash_net_connector.cc',
254 'cpp/private/flash_net_connector.h',
255 'cpp/private/instance_private.cc',
256 'cpp/private/instance_private.h',
257 'cpp/private/net_address_private.cc',
258 'cpp/private/net_address_private.h',
[email protected]d2e03f82012-03-05 08:12:38259 'cpp/private/network_list_private.cc',
260 'cpp/private/network_list_private.h',
261 'cpp/private/network_monitor_private.cc',
262 'cpp/private/network_monitor_private.h',
[email protected]1f081e7a2011-12-01 19:33:21263 'cpp/private/tcp_socket_private.cc',
264 'cpp/private/tcp_socket_private.h',
265 'cpp/private/udp_socket_private.cc',
266 'cpp/private/udp_socket_private.h',
267 'cpp/private/var_private.cc',
268 'cpp/private/var_private.h',
269
270 # Trusted interfaces.
[email protected]7a26d92e2012-02-17 20:15:25271 'cpp/trusted/browser_font_trusted.cc',
272 'cpp/trusted/browser_font_trusted.h',
[email protected]1f081e7a2011-12-01 19:33:21273 'cpp/trusted/file_chooser_trusted.cc',
274 'cpp/trusted/file_chooser_trusted.h',
[email protected]6c8011b2011-12-15 23:26:56275 'cpp/trusted/file_io_trusted.cc',
276 'cpp/trusted/file_io_trusted.h',
[email protected]ae5ff9ae2012-01-06 22:50:33277
278 # Utility sources.
279 'utility/completion_callback_factory.h',
280 'utility/non_thread_safe_ref_count.h',
281 'utility/graphics/paint_aggregator.cc',
282 'utility/graphics/paint_aggregator.h',
283 'utility/graphics/paint_manager.cc',
284 'utility/graphics/paint_manager.h',
[email protected]15b12242012-01-26 19:28:47285 'utility/threading/simple_thread.cc',
286 'utility/threading/simple_thread.h',
[email protected]2785cb92012-02-29 20:22:09287 'utility/websocket/websocket_api.cc',
288 'utility/websocket/websocket_api.h',
[email protected]1f081e7a2011-12-01 19:33:21289 ],
290 #
291 # Common Testing source for trusted and untrusted (NaCl) pugins.
292 #
[email protected]70919502011-12-16 02:30:03293 'test_common_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21294 # Common test files
295 'tests/all_c_includes.h',
296 'tests/all_cpp_includes.h',
297 'tests/arch_dependent_sizes_32.h',
298 'tests/arch_dependent_sizes_64.h',
299 'tests/pp_thread.h',
300 'tests/test_case.cc',
301 'tests/test_case.h',
[email protected]9e855c0a2012-01-18 13:36:55302 'tests/test_net_address_private_untrusted.cc',
303 'tests/test_net_address_private_untrusted.h',
[email protected]20e31122012-02-22 15:56:03304 'tests/test_tcp_server_socket_private.cc',
305 'tests/test_tcp_server_socket_private.h',
[email protected]ef5e98e2011-12-06 09:49:18306 'tests/test_tcp_socket_private_shared.cc',
307 'tests/test_tcp_socket_private_shared.h',
308 'tests/test_udp_socket_private_shared.cc',
309 'tests/test_udp_socket_private_shared.h',
[email protected]1f081e7a2011-12-01 19:33:21310 'tests/test_utils.cc',
311 'tests/testing_instance.cc',
312 'tests/testing_instance.h',
[email protected]ef5e98e2011-12-06 09:49:18313
[email protected]1f081e7a2011-12-01 19:33:21314 # Compile-time tests
315 'tests/test_c_includes.c',
316 'tests/test_cpp_includes.cc',
317 'tests/test_struct_sizes.c',
318 ],
319 #
320 # Sources used in NaCl tests.
321 #
[email protected]70919502011-12-16 02:30:03322 'test_nacl_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21323 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
324 'tests/test_audio_config.cc',
325 'tests/test_cursor_control.cc',
326 'tests/test_directory_reader.cc',
327 'tests/test_file_io.cc',
328 'tests/test_file_ref.cc',
329 'tests/test_file_system.cc',
[email protected]08610102011-12-17 14:24:30330 'tests/test_input_event.cc',
[email protected]1f081e7a2011-12-01 19:33:21331 'tests/test_memory.cc',
332 'tests/test_graphics_2d.cc',
333 'tests/test_image_data.cc',
[email protected]240502342011-12-22 20:07:49334 'tests/test_memory.cc',
[email protected]1f081e7a2011-12-01 19:33:21335 'tests/test_paint_aggregator.cc',
[email protected]08610102011-12-17 14:24:30336 'tests/test_post_message.cc',
[email protected]1f081e7a2011-12-01 19:33:21337 'tests/test_scrollbar.cc',
[email protected]50da4202012-03-11 11:07:12338 'tests/test_tcp_server_socket_private_disallowed.cc',
[email protected]240502342011-12-22 20:07:49339 'tests/test_tcp_socket_private_disallowed.cc',
340 'tests/test_udp_socket_private_disallowed.cc',
[email protected]1f081e7a2011-12-01 19:33:21341 'tests/test_url_loader.cc',
[email protected]a333c232012-01-27 23:14:27342 'tests/test_url_request.cc',
[email protected]1f081e7a2011-12-01 19:33:21343 'tests/test_var.cc',
[email protected]09c37ba2012-01-05 18:00:33344 'tests/test_view.cc',
[email protected]9082aa5b2012-01-19 08:44:47345 'tests/test_websocket.cc',
[email protected]1f081e7a2011-12-01 19:33:21346 ],
347 #
348 # Sources used in trusted tests.
349 #
[email protected]70919502011-12-16 02:30:03350 'test_trusted_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21351 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
352 'tests/test_audio.cc',
353 'tests/test_audio.h',
354 'tests/test_audio_config.cc',
355 'tests/test_audio_config.h',
356 'tests/test_broker.cc',
357 'tests/test_broker.h',
[email protected]7a26d92e2012-02-17 20:15:25358 'tests/test_browser_font.cc',
359 'tests/test_browser_font.h',
[email protected]1f081e7a2011-12-01 19:33:21360 'tests/test_buffer.cc',
361 'tests/test_buffer.h',
362 'tests/test_c_includes.c',
363 'tests/test_char_set.cc',
364 'tests/test_char_set.h',
365 'tests/test_core.cc',
366 'tests/test_core.h',
367 'tests/test_cpp_includes.cc',
368 'tests/test_crypto.cc',
369 'tests/test_crypto.h',
370 'tests/test_cursor_control.cc',
371 'tests/test_cursor_control.h',
372 'tests/test_directory_reader.cc',
373 'tests/test_directory_reader.h',
374 'tests/test_file_io.cc',
375 'tests/test_file_io.h',
376 'tests/test_file_ref.cc',
377 'tests/test_file_ref.h',
378 'tests/test_file_system.cc',
379 'tests/test_file_system.h',
380 'tests/test_flash.cc',
381 'tests/test_flash.h',
382 'tests/test_flash_clipboard.cc',
383 'tests/test_flash_clipboard.h',
384 'tests/test_flash_fullscreen.cc',
385 'tests/test_flash_fullscreen.h',
[email protected]cd2af392012-01-31 09:19:17386 'tests/test_flash_message_loop.cc',
387 'tests/test_flash_message_loop.h',
[email protected]1f081e7a2011-12-01 19:33:21388 'tests/test_fullscreen.cc',
389 'tests/test_fullscreen.h',
390 'tests/test_graphics_2d.cc',
391 'tests/test_graphics_2d.h',
392 'tests/test_graphics_3d.cc',
393 'tests/test_graphics_3d.h',
394 'tests/test_image_data.cc',
395 'tests/test_image_data.h',
396 'tests/test_input_event.cc',
397 'tests/test_input_event.h',
398 'tests/test_memory.cc',
399 'tests/test_memory.h',
400 'tests/test_net_address_private.cc',
401 'tests/test_net_address_private.h',
402 'tests/test_paint_aggregator.cc',
403 'tests/test_paint_aggregator.h',
404 'tests/test_post_message.cc',
405 'tests/test_post_message.h',
[email protected]6117b82da2012-01-07 00:51:01406 'tests/test_resource_array.cc',
407 'tests/test_resource_array.h',
[email protected]1f081e7a2011-12-01 19:33:21408 'tests/test_scrollbar.cc',
409 'tests/test_scrollbar.h',
410 'tests/test_struct_sizes.c',
411 'tests/test_tcp_socket_private.cc',
412 'tests/test_tcp_socket_private.h',
413 'tests/test_uma.cc',
414 'tests/test_uma.h',
415 'tests/test_url_loader.cc',
416 'tests/test_url_loader.h',
[email protected]a333c232012-01-27 23:14:27417 'tests/test_url_request.cc',
418 'tests/test_url_request.h',
[email protected]1f081e7a2011-12-01 19:33:21419 'tests/test_url_util.cc',
420 'tests/test_url_util.h',
421 'tests/test_utils.cc',
422 'tests/test_utils.h',
423 'tests/test_var.cc',
424 'tests/test_var.h',
[email protected]09c37ba2012-01-05 18:00:33425 'tests/test_view.cc',
426 'tests/test_view.h',
[email protected]1f081e7a2011-12-01 19:33:21427 'tests/test_video_decoder.cc',
428 'tests/test_video_decoder.h',
429 'tests/test_websocket.cc',
430 'tests/test_websocket.h',
431
432 # Deprecated test cases.
433 'tests/test_instance_deprecated.cc',
434 'tests/test_instance_deprecated.h',
435 'tests/test_var_deprecated.cc',
436 'tests/test_var_deprecated.h',
437 ],
438 },
439 'conditions': [
440 ['p2p_apis==1', {
441 'variables': {
[email protected]70919502011-12-16 02:30:03442 'c_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21443 'c/dev/ppb_transport_dev.h',
444 ],
[email protected]70919502011-12-16 02:30:03445 'cpp_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21446 'cpp/dev/transport_dev.cc',
447 'cpp/dev/transport_dev.h',
448 ],
449 },
450 }],
451 ],
[email protected]ddd61db2011-12-07 06:49:00452}