blob: f517a12994ca7020d5d89e6e8fef1302c1af7aab [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]e8f07ac2012-01-03 17:43:3644 'c/ppb_view.h',
[email protected]1f081e7a2011-12-01 19:33:2145 'c/ppp.h',
46 'c/ppp_graphics_3d.h',
47 'c/ppp_input_event.h',
48 'c/ppp_instance.h',
49 'c/ppp_messaging.h',
50 'c/ppp_mouse_lock.h',
51
52 # Dev interfaces.
53 'c/dev/pp_cursor_type_dev.h',
54 'c/dev/pp_video_dev.h',
55 'c/dev/ppb_buffer_dev.h',
56 'c/dev/ppb_char_set_dev.h',
57 'c/dev/ppb_console_dev.h',
58 'c/dev/ppb_cursor_control_dev.h',
59 'c/dev/ppb_directory_reader_dev.h',
60 'c/dev/ppb_file_chooser_dev.h',
61 'c/dev/ppb_find_dev.h',
62 'c/dev/ppb_font_dev.h',
63 'c/dev/ppb_fullscreen_dev.h',
64 'c/dev/ppb_ime_input_event_dev.h',
65 'c/dev/ppb_memory_dev.h',
[email protected]6117b82da2012-01-07 00:51:0166 'c/dev/ppb_resource_array_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2167 'c/dev/ppb_scrollbar_dev.h',
68 'c/dev/ppb_testing_dev.h',
69 'c/dev/ppb_url_util_dev.h',
[email protected]ddd61db2011-12-07 06:49:0070 'c/dev/ppb_var_array_buffer_dev.h',
[email protected]1f081e7a2011-12-01 19:33:2171 'c/dev/ppb_video_decoder_dev.h',
72 'c/dev/ppb_websocket_dev.h',
73 'c/dev/ppb_widget_dev.h',
74 'c/dev/ppb_zoom_dev.h',
75 'c/dev/ppp_cursor_control_dev.h',
76 'c/dev/ppp_find_dev.h',
77 'c/dev/ppp_network_state_dev.h',
78 'c/dev/ppp_scrollbar_dev.h',
79 'c/dev/ppp_selection_dev.h',
80 'c/dev/ppb_text_input_dev.h',
81 'c/dev/ppp_video_decoder_dev.h',
82 'c/dev/ppp_widget_dev.h',
83 'c/dev/ppp_zoom_dev.h',
84
85 # Private interfaces.
86 'c/private/ppb_flash.h',
87 'c/private/ppb_flash_clipboard.h',
88 'c/private/ppb_flash_file.h',
89 'c/private/ppb_flash_fullscreen.h',
90 'c/private/ppb_flash_menu.h',
91 'c/private/ppb_flash_net_connector.h',
92 'c/private/ppb_flash_tcp_socket.h',
93 'c/private/ppb_flash_udp_socket.h',
94 'c/private/ppb_gpu_blacklist_private.h',
95 'c/private/ppb_instance_private.h',
96 'c/private/ppb_nacl_private.h',
97 'c/private/ppb_net_address_private.h',
98 'c/private/ppb_pdf.h',
99 'c/private/ppb_proxy_private.h',
100 'c/private/ppp_instance_private.h',
101 'c/private/ppb_tcp_socket_private.h',
102 'c/private/ppb_udp_socket_private.h',
103
104 # Deprecated interfaces.
105 'c/dev/deprecated_bool.h',
106 'c/dev/ppb_var_deprecated.h',
107 'c/dev/ppp_class_deprecated.h',
108
109 # Trusted interfaces.
110 'c/trusted/ppb_audio_trusted.h',
111 'c/trusted/ppb_broker_trusted.h',
112 'c/trusted/ppb_buffer_trusted.h',
113 'c/trusted/ppb_file_chooser_trusted.h',
114 'c/trusted/ppb_file_io_trusted.h',
115 'c/trusted/ppb_graphics_3d_trusted.h',
116 'c/trusted/ppb_image_data_trusted.h',
117 'c/trusted/ppb_url_loader_trusted.h',
118 'c/trusted/ppp_broker.h',
119 ],
[email protected]70919502011-12-16 02:30:03120 'cpp_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21121 'cpp/audio.cc',
122 'cpp/audio.h',
123 'cpp/audio_config.cc',
124 'cpp/audio_config.h',
125 'cpp/completion_callback.cc',
126 'cpp/completion_callback.h',
127 'cpp/core.cc',
128 'cpp/core.h',
129 'cpp/file_io.cc',
130 'cpp/file_io.h',
131 'cpp/file_ref.cc',
132 'cpp/file_ref.h',
133 'cpp/file_system.cc',
134 'cpp/file_system.h',
135 'cpp/fullscreen.cc',
136 'cpp/fullscreen.h',
137 'cpp/graphics_2d.cc',
138 'cpp/graphics_2d.h',
139 'cpp/graphics_3d.cc',
140 'cpp/graphics_3d.h',
141 'cpp/graphics_3d_client.cc',
142 'cpp/graphics_3d_client.h',
143 'cpp/image_data.cc',
144 'cpp/image_data.h',
145 'cpp/input_event.cc',
146 'cpp/input_event.h',
147 'cpp/instance.cc',
148 'cpp/instance.h',
149 'cpp/logging.h',
150 'cpp/module.cc',
151 'cpp/module.h',
152 'cpp/module_impl.h',
153 'cpp/mouse_lock.cc',
154 'cpp/mouse_lock.h',
[email protected]1f081e7a2011-12-01 19:33:21155 'cpp/point.h',
156 'cpp/rect.cc',
157 'cpp/rect.h',
158 'cpp/resource.cc',
159 'cpp/resource.h',
160 'cpp/size.h',
161 'cpp/url_loader.cc',
162 'cpp/url_loader.h',
163 'cpp/url_request_info.cc',
164 'cpp/url_request_info.h',
165 'cpp/url_response_info.cc',
166 'cpp/url_response_info.h',
167 'cpp/var.cc',
168 'cpp/var.h',
[email protected]e8f07ac2012-01-03 17:43:36169 'cpp/view.cc',
170 'cpp/view.h',
[email protected]1f081e7a2011-12-01 19:33:21171
172 # Dev interfaces.
173 'cpp/dev/audio_input_dev.cc',
174 'cpp/dev/audio_input_dev.h',
175 'cpp/dev/buffer_dev.cc',
176 'cpp/dev/buffer_dev.h',
177 'cpp/dev/directory_entry_dev.cc',
178 'cpp/dev/directory_entry_dev.h',
179 'cpp/dev/directory_reader_dev.cc',
180 'cpp/dev/directory_reader_dev.h',
181 'cpp/dev/file_chooser_dev.cc',
182 'cpp/dev/file_chooser_dev.h',
183 'cpp/dev/find_dev.cc',
184 'cpp/dev/find_dev.h',
185 'cpp/dev/font_dev.cc',
186 'cpp/dev/font_dev.h',
187 'cpp/dev/fullscreen_dev.cc',
188 'cpp/dev/fullscreen_dev.h',
189 'cpp/dev/ime_input_event_dev.cc',
190 'cpp/dev/ime_input_event_dev.h',
191 'cpp/dev/memory_dev.cc',
192 'cpp/dev/memory_dev.h',
193 'cpp/dev/printing_dev.cc',
194 'cpp/dev/printing_dev.h',
[email protected]6117b82da2012-01-07 00:51:01195 'cpp/dev/resource_array_dev.cc',
196 'cpp/dev/resource_array_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21197 'cpp/dev/scrollbar_dev.cc',
198 'cpp/dev/scrollbar_dev.h',
199 'cpp/dev/selection_dev.cc',
200 'cpp/dev/selection_dev.h',
201 'cpp/dev/text_input_dev.cc',
202 'cpp/dev/text_input_dev.h',
203 'cpp/dev/url_util_dev.cc',
204 'cpp/dev/url_util_dev.h',
[email protected]ddd61db2011-12-07 06:49:00205 'cpp/dev/var_array_buffer_dev.cc',
206 'cpp/dev/var_array_buffer_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21207 'cpp/dev/video_capture_client_dev.cc',
208 'cpp/dev/video_capture_client_dev.h',
209 'cpp/dev/video_capture_dev.cc',
210 'cpp/dev/video_capture_dev.h',
211 'cpp/dev/video_decoder_client_dev.cc',
212 'cpp/dev/video_decoder_client_dev.h',
213 'cpp/dev/video_decoder_dev.cc',
214 'cpp/dev/video_decoder_dev.h',
[email protected]3e919cb2011-12-16 07:28:21215 'cpp/dev/websocket_dev.cc',
216 'cpp/dev/websocket_dev.h',
[email protected]1f081e7a2011-12-01 19:33:21217 'cpp/dev/widget_client_dev.cc',
218 'cpp/dev/widget_client_dev.h',
219 'cpp/dev/widget_dev.cc',
220 'cpp/dev/widget_dev.h',
221 'cpp/dev/zoom_dev.cc',
222 'cpp/dev/zoom_dev.h',
223
224 # Deprecated interfaces.
225 'cpp/dev/scriptable_object_deprecated.h',
226 'cpp/dev/scriptable_object_deprecated.cc',
227
228 # Private interfaces.
[email protected]4ee95fa42011-12-16 20:10:08229 'cpp/private/flash.cc',
230 'cpp/private/flash.h',
[email protected]1f081e7a2011-12-01 19:33:21231 'cpp/private/flash_fullscreen.cc',
232 'cpp/private/flash_fullscreen.h',
233 'cpp/private/flash_menu.cc',
234 'cpp/private/flash_menu.h',
235 'cpp/private/flash_net_connector.cc',
236 'cpp/private/flash_net_connector.h',
237 'cpp/private/instance_private.cc',
238 'cpp/private/instance_private.h',
239 'cpp/private/net_address_private.cc',
240 'cpp/private/net_address_private.h',
241 'cpp/private/tcp_socket_private.cc',
242 'cpp/private/tcp_socket_private.h',
243 'cpp/private/udp_socket_private.cc',
244 'cpp/private/udp_socket_private.h',
245 'cpp/private/var_private.cc',
246 'cpp/private/var_private.h',
247
248 # Trusted interfaces.
249 'cpp/trusted/file_chooser_trusted.cc',
250 'cpp/trusted/file_chooser_trusted.h',
[email protected]6c8011b2011-12-15 23:26:56251 'cpp/trusted/file_io_trusted.cc',
252 'cpp/trusted/file_io_trusted.h',
[email protected]ae5ff9ae2012-01-06 22:50:33253
254 # Utility sources.
255 'utility/completion_callback_factory.h',
256 'utility/non_thread_safe_ref_count.h',
257 'utility/graphics/paint_aggregator.cc',
258 'utility/graphics/paint_aggregator.h',
259 'utility/graphics/paint_manager.cc',
260 'utility/graphics/paint_manager.h',
[email protected]1f081e7a2011-12-01 19:33:21261 ],
262 #
263 # Common Testing source for trusted and untrusted (NaCl) pugins.
264 #
[email protected]70919502011-12-16 02:30:03265 'test_common_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21266 # Common test files
267 'tests/all_c_includes.h',
268 'tests/all_cpp_includes.h',
269 'tests/arch_dependent_sizes_32.h',
270 'tests/arch_dependent_sizes_64.h',
271 'tests/pp_thread.h',
272 'tests/test_case.cc',
273 'tests/test_case.h',
[email protected]ef5e98e2011-12-06 09:49:18274 'tests/test_tcp_socket_private_shared.cc',
275 'tests/test_tcp_socket_private_shared.h',
276 'tests/test_udp_socket_private_shared.cc',
277 'tests/test_udp_socket_private_shared.h',
[email protected]1f081e7a2011-12-01 19:33:21278 'tests/test_utils.cc',
279 'tests/testing_instance.cc',
280 'tests/testing_instance.h',
[email protected]ef5e98e2011-12-06 09:49:18281
[email protected]1f081e7a2011-12-01 19:33:21282 # Compile-time tests
283 'tests/test_c_includes.c',
284 'tests/test_cpp_includes.cc',
285 'tests/test_struct_sizes.c',
286 ],
287 #
288 # Sources used in NaCl tests.
289 #
[email protected]70919502011-12-16 02:30:03290 'test_nacl_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21291 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
292 'tests/test_audio_config.cc',
293 'tests/test_cursor_control.cc',
294 'tests/test_directory_reader.cc',
295 'tests/test_file_io.cc',
296 'tests/test_file_ref.cc',
297 'tests/test_file_system.cc',
[email protected]08610102011-12-17 14:24:30298 'tests/test_input_event.cc',
[email protected]1f081e7a2011-12-01 19:33:21299 'tests/test_memory.cc',
300 'tests/test_graphics_2d.cc',
301 'tests/test_image_data.cc',
[email protected]240502342011-12-22 20:07:49302 'tests/test_memory.cc',
[email protected]1f081e7a2011-12-01 19:33:21303 'tests/test_paint_aggregator.cc',
[email protected]08610102011-12-17 14:24:30304 'tests/test_post_message.cc',
[email protected]1f081e7a2011-12-01 19:33:21305 'tests/test_scrollbar.cc',
[email protected]240502342011-12-22 20:07:49306 'tests/test_tcp_socket_private_disallowed.cc',
307 'tests/test_udp_socket_private_disallowed.cc',
[email protected]1f081e7a2011-12-01 19:33:21308 'tests/test_url_loader.cc',
309 'tests/test_var.cc',
[email protected]09c37ba2012-01-05 18:00:33310 'tests/test_view.cc',
[email protected]1f081e7a2011-12-01 19:33:21311 ],
312 #
313 # Sources used in trusted tests.
314 #
[email protected]70919502011-12-16 02:30:03315 'test_trusted_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21316 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
317 'tests/test_audio.cc',
318 'tests/test_audio.h',
319 'tests/test_audio_config.cc',
320 'tests/test_audio_config.h',
321 'tests/test_broker.cc',
322 'tests/test_broker.h',
323 'tests/test_buffer.cc',
324 'tests/test_buffer.h',
325 'tests/test_c_includes.c',
326 'tests/test_char_set.cc',
327 'tests/test_char_set.h',
328 'tests/test_core.cc',
329 'tests/test_core.h',
330 'tests/test_cpp_includes.cc',
331 'tests/test_crypto.cc',
332 'tests/test_crypto.h',
333 'tests/test_cursor_control.cc',
334 'tests/test_cursor_control.h',
335 'tests/test_directory_reader.cc',
336 'tests/test_directory_reader.h',
337 'tests/test_file_io.cc',
338 'tests/test_file_io.h',
339 'tests/test_file_ref.cc',
340 'tests/test_file_ref.h',
341 'tests/test_file_system.cc',
342 'tests/test_file_system.h',
343 'tests/test_flash.cc',
344 'tests/test_flash.h',
345 'tests/test_flash_clipboard.cc',
346 'tests/test_flash_clipboard.h',
347 'tests/test_flash_fullscreen.cc',
348 'tests/test_flash_fullscreen.h',
349 'tests/test_fullscreen.cc',
350 'tests/test_fullscreen.h',
351 'tests/test_graphics_2d.cc',
352 'tests/test_graphics_2d.h',
353 'tests/test_graphics_3d.cc',
354 'tests/test_graphics_3d.h',
355 'tests/test_image_data.cc',
356 'tests/test_image_data.h',
357 'tests/test_input_event.cc',
358 'tests/test_input_event.h',
359 'tests/test_memory.cc',
360 'tests/test_memory.h',
361 'tests/test_net_address_private.cc',
362 'tests/test_net_address_private.h',
363 'tests/test_paint_aggregator.cc',
364 'tests/test_paint_aggregator.h',
365 'tests/test_post_message.cc',
366 'tests/test_post_message.h',
[email protected]6117b82da2012-01-07 00:51:01367 'tests/test_resource_array.cc',
368 'tests/test_resource_array.h',
[email protected]1f081e7a2011-12-01 19:33:21369 'tests/test_scrollbar.cc',
370 'tests/test_scrollbar.h',
371 'tests/test_struct_sizes.c',
372 'tests/test_tcp_socket_private.cc',
373 'tests/test_tcp_socket_private.h',
374 'tests/test_uma.cc',
375 'tests/test_uma.h',
376 'tests/test_url_loader.cc',
377 'tests/test_url_loader.h',
378 'tests/test_url_util.cc',
379 'tests/test_url_util.h',
380 'tests/test_utils.cc',
381 'tests/test_utils.h',
382 'tests/test_var.cc',
383 'tests/test_var.h',
[email protected]09c37ba2012-01-05 18:00:33384 'tests/test_view.cc',
385 'tests/test_view.h',
[email protected]1f081e7a2011-12-01 19:33:21386 'tests/test_video_decoder.cc',
387 'tests/test_video_decoder.h',
388 'tests/test_websocket.cc',
389 'tests/test_websocket.h',
390
391 # Deprecated test cases.
392 'tests/test_instance_deprecated.cc',
393 'tests/test_instance_deprecated.h',
394 'tests/test_var_deprecated.cc',
395 'tests/test_var_deprecated.h',
396 ],
397 },
398 'conditions': [
399 ['p2p_apis==1', {
400 'variables': {
[email protected]70919502011-12-16 02:30:03401 'c_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21402 'c/dev/ppb_transport_dev.h',
403 ],
[email protected]70919502011-12-16 02:30:03404 'cpp_source_files': [
[email protected]1f081e7a2011-12-01 19:33:21405 'cpp/dev/transport_dev.cc',
406 'cpp/dev/transport_dev.h',
407 ],
408 },
409 }],
410 ],
[email protected]ddd61db2011-12-07 06:49:00411}