[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 1 | # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 | # 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] | 7091950 | 2011-12-16 02:30:03 | [diff] [blame] | 7 | 'c_source_files': [ |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 8 | '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', |
| 44 | 'c/ppp.h', |
| 45 | 'c/ppp_graphics_3d.h', |
| 46 | 'c/ppp_input_event.h', |
| 47 | 'c/ppp_instance.h', |
| 48 | 'c/ppp_messaging.h', |
| 49 | 'c/ppp_mouse_lock.h', |
| 50 | |
| 51 | # Dev interfaces. |
| 52 | 'c/dev/pp_cursor_type_dev.h', |
| 53 | 'c/dev/pp_video_dev.h', |
| 54 | 'c/dev/ppb_buffer_dev.h', |
| 55 | 'c/dev/ppb_char_set_dev.h', |
| 56 | 'c/dev/ppb_console_dev.h', |
| 57 | 'c/dev/ppb_cursor_control_dev.h', |
| 58 | 'c/dev/ppb_directory_reader_dev.h', |
| 59 | 'c/dev/ppb_file_chooser_dev.h', |
| 60 | 'c/dev/ppb_find_dev.h', |
| 61 | 'c/dev/ppb_font_dev.h', |
| 62 | 'c/dev/ppb_fullscreen_dev.h', |
| 63 | 'c/dev/ppb_ime_input_event_dev.h', |
| 64 | 'c/dev/ppb_memory_dev.h', |
| 65 | 'c/dev/ppb_scrollbar_dev.h', |
| 66 | 'c/dev/ppb_testing_dev.h', |
| 67 | 'c/dev/ppb_url_util_dev.h', |
[email protected] | ddd61db | 2011-12-07 06:49:00 | [diff] [blame] | 68 | 'c/dev/ppb_var_array_buffer_dev.h', |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 69 | 'c/dev/ppb_video_decoder_dev.h', |
| 70 | 'c/dev/ppb_websocket_dev.h', |
| 71 | 'c/dev/ppb_widget_dev.h', |
| 72 | 'c/dev/ppb_zoom_dev.h', |
| 73 | 'c/dev/ppp_cursor_control_dev.h', |
| 74 | 'c/dev/ppp_find_dev.h', |
| 75 | 'c/dev/ppp_network_state_dev.h', |
| 76 | 'c/dev/ppp_scrollbar_dev.h', |
| 77 | 'c/dev/ppp_selection_dev.h', |
| 78 | 'c/dev/ppb_text_input_dev.h', |
| 79 | 'c/dev/ppp_video_decoder_dev.h', |
| 80 | 'c/dev/ppp_widget_dev.h', |
| 81 | 'c/dev/ppp_zoom_dev.h', |
| 82 | |
| 83 | # Private interfaces. |
| 84 | 'c/private/ppb_flash.h', |
| 85 | 'c/private/ppb_flash_clipboard.h', |
| 86 | 'c/private/ppb_flash_file.h', |
| 87 | 'c/private/ppb_flash_fullscreen.h', |
| 88 | 'c/private/ppb_flash_menu.h', |
| 89 | 'c/private/ppb_flash_net_connector.h', |
| 90 | 'c/private/ppb_flash_tcp_socket.h', |
| 91 | 'c/private/ppb_flash_udp_socket.h', |
| 92 | 'c/private/ppb_gpu_blacklist_private.h', |
| 93 | 'c/private/ppb_instance_private.h', |
| 94 | 'c/private/ppb_nacl_private.h', |
| 95 | 'c/private/ppb_net_address_private.h', |
| 96 | 'c/private/ppb_pdf.h', |
| 97 | 'c/private/ppb_proxy_private.h', |
| 98 | 'c/private/ppp_instance_private.h', |
| 99 | 'c/private/ppb_tcp_socket_private.h', |
| 100 | 'c/private/ppb_udp_socket_private.h', |
| 101 | |
| 102 | # Deprecated interfaces. |
| 103 | 'c/dev/deprecated_bool.h', |
| 104 | 'c/dev/ppb_var_deprecated.h', |
| 105 | 'c/dev/ppp_class_deprecated.h', |
| 106 | |
| 107 | # Trusted interfaces. |
| 108 | 'c/trusted/ppb_audio_trusted.h', |
| 109 | 'c/trusted/ppb_broker_trusted.h', |
| 110 | 'c/trusted/ppb_buffer_trusted.h', |
| 111 | 'c/trusted/ppb_file_chooser_trusted.h', |
| 112 | 'c/trusted/ppb_file_io_trusted.h', |
| 113 | 'c/trusted/ppb_graphics_3d_trusted.h', |
| 114 | 'c/trusted/ppb_image_data_trusted.h', |
| 115 | 'c/trusted/ppb_url_loader_trusted.h', |
| 116 | 'c/trusted/ppp_broker.h', |
| 117 | ], |
[email protected] | 7091950 | 2011-12-16 02:30:03 | [diff] [blame] | 118 | 'cpp_source_files': [ |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 119 | 'cpp/audio.cc', |
| 120 | 'cpp/audio.h', |
| 121 | 'cpp/audio_config.cc', |
| 122 | 'cpp/audio_config.h', |
| 123 | 'cpp/completion_callback.cc', |
| 124 | 'cpp/completion_callback.h', |
| 125 | 'cpp/core.cc', |
| 126 | 'cpp/core.h', |
| 127 | 'cpp/file_io.cc', |
| 128 | 'cpp/file_io.h', |
| 129 | 'cpp/file_ref.cc', |
| 130 | 'cpp/file_ref.h', |
| 131 | 'cpp/file_system.cc', |
| 132 | 'cpp/file_system.h', |
| 133 | 'cpp/fullscreen.cc', |
| 134 | 'cpp/fullscreen.h', |
| 135 | 'cpp/graphics_2d.cc', |
| 136 | 'cpp/graphics_2d.h', |
| 137 | 'cpp/graphics_3d.cc', |
| 138 | 'cpp/graphics_3d.h', |
| 139 | 'cpp/graphics_3d_client.cc', |
| 140 | 'cpp/graphics_3d_client.h', |
| 141 | 'cpp/image_data.cc', |
| 142 | 'cpp/image_data.h', |
| 143 | 'cpp/input_event.cc', |
| 144 | 'cpp/input_event.h', |
| 145 | 'cpp/instance.cc', |
| 146 | 'cpp/instance.h', |
| 147 | 'cpp/logging.h', |
| 148 | 'cpp/module.cc', |
| 149 | 'cpp/module.h', |
| 150 | 'cpp/module_impl.h', |
| 151 | 'cpp/mouse_lock.cc', |
| 152 | 'cpp/mouse_lock.h', |
| 153 | 'cpp/non_thread_safe_ref_count.h', |
| 154 | 'cpp/paint_aggregator.cc', |
| 155 | 'cpp/paint_aggregator.h', |
| 156 | 'cpp/paint_manager.cc', |
| 157 | 'cpp/paint_manager.h', |
| 158 | 'cpp/point.h', |
| 159 | 'cpp/rect.cc', |
| 160 | 'cpp/rect.h', |
| 161 | 'cpp/resource.cc', |
| 162 | 'cpp/resource.h', |
| 163 | 'cpp/size.h', |
| 164 | 'cpp/url_loader.cc', |
| 165 | 'cpp/url_loader.h', |
| 166 | 'cpp/url_request_info.cc', |
| 167 | 'cpp/url_request_info.h', |
| 168 | 'cpp/url_response_info.cc', |
| 169 | 'cpp/url_response_info.h', |
| 170 | 'cpp/var.cc', |
| 171 | 'cpp/var.h', |
| 172 | |
| 173 | # Dev interfaces. |
| 174 | 'cpp/dev/audio_input_dev.cc', |
| 175 | 'cpp/dev/audio_input_dev.h', |
| 176 | 'cpp/dev/buffer_dev.cc', |
| 177 | 'cpp/dev/buffer_dev.h', |
| 178 | 'cpp/dev/directory_entry_dev.cc', |
| 179 | 'cpp/dev/directory_entry_dev.h', |
| 180 | 'cpp/dev/directory_reader_dev.cc', |
| 181 | 'cpp/dev/directory_reader_dev.h', |
| 182 | 'cpp/dev/file_chooser_dev.cc', |
| 183 | 'cpp/dev/file_chooser_dev.h', |
| 184 | 'cpp/dev/find_dev.cc', |
| 185 | 'cpp/dev/find_dev.h', |
| 186 | 'cpp/dev/font_dev.cc', |
| 187 | 'cpp/dev/font_dev.h', |
| 188 | 'cpp/dev/fullscreen_dev.cc', |
| 189 | 'cpp/dev/fullscreen_dev.h', |
| 190 | 'cpp/dev/ime_input_event_dev.cc', |
| 191 | 'cpp/dev/ime_input_event_dev.h', |
| 192 | 'cpp/dev/memory_dev.cc', |
| 193 | 'cpp/dev/memory_dev.h', |
| 194 | 'cpp/dev/printing_dev.cc', |
| 195 | 'cpp/dev/printing_dev.h', |
| 196 | 'cpp/dev/scrollbar_dev.cc', |
| 197 | 'cpp/dev/scrollbar_dev.h', |
| 198 | 'cpp/dev/selection_dev.cc', |
| 199 | 'cpp/dev/selection_dev.h', |
| 200 | 'cpp/dev/text_input_dev.cc', |
| 201 | 'cpp/dev/text_input_dev.h', |
| 202 | 'cpp/dev/url_util_dev.cc', |
| 203 | 'cpp/dev/url_util_dev.h', |
[email protected] | ddd61db | 2011-12-07 06:49:00 | [diff] [blame] | 204 | 'cpp/dev/var_array_buffer_dev.cc', |
| 205 | 'cpp/dev/var_array_buffer_dev.h', |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 206 | 'cpp/dev/video_capture_client_dev.cc', |
| 207 | 'cpp/dev/video_capture_client_dev.h', |
| 208 | 'cpp/dev/video_capture_dev.cc', |
| 209 | 'cpp/dev/video_capture_dev.h', |
| 210 | 'cpp/dev/video_decoder_client_dev.cc', |
| 211 | 'cpp/dev/video_decoder_client_dev.h', |
| 212 | 'cpp/dev/video_decoder_dev.cc', |
| 213 | 'cpp/dev/video_decoder_dev.h', |
[email protected] | 3e919cb | 2011-12-16 07:28:21 | [diff] [blame] | 214 | 'cpp/dev/websocket_dev.cc', |
| 215 | 'cpp/dev/websocket_dev.h', |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 216 | 'cpp/dev/widget_client_dev.cc', |
| 217 | 'cpp/dev/widget_client_dev.h', |
| 218 | 'cpp/dev/widget_dev.cc', |
| 219 | 'cpp/dev/widget_dev.h', |
| 220 | 'cpp/dev/zoom_dev.cc', |
| 221 | 'cpp/dev/zoom_dev.h', |
| 222 | |
| 223 | # Deprecated interfaces. |
| 224 | 'cpp/dev/scriptable_object_deprecated.h', |
| 225 | 'cpp/dev/scriptable_object_deprecated.cc', |
| 226 | |
| 227 | # Private interfaces. |
[email protected] | 4ee95fa4 | 2011-12-16 20:10:08 | [diff] [blame^] | 228 | 'cpp/private/flash.cc', |
| 229 | 'cpp/private/flash.h', |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 230 | 'cpp/private/flash_fullscreen.cc', |
| 231 | 'cpp/private/flash_fullscreen.h', |
| 232 | 'cpp/private/flash_menu.cc', |
| 233 | 'cpp/private/flash_menu.h', |
| 234 | 'cpp/private/flash_net_connector.cc', |
| 235 | 'cpp/private/flash_net_connector.h', |
| 236 | 'cpp/private/instance_private.cc', |
| 237 | 'cpp/private/instance_private.h', |
| 238 | 'cpp/private/net_address_private.cc', |
| 239 | 'cpp/private/net_address_private.h', |
| 240 | 'cpp/private/tcp_socket_private.cc', |
| 241 | 'cpp/private/tcp_socket_private.h', |
| 242 | 'cpp/private/udp_socket_private.cc', |
| 243 | 'cpp/private/udp_socket_private.h', |
| 244 | 'cpp/private/var_private.cc', |
| 245 | 'cpp/private/var_private.h', |
| 246 | |
| 247 | # Trusted interfaces. |
| 248 | 'cpp/trusted/file_chooser_trusted.cc', |
| 249 | 'cpp/trusted/file_chooser_trusted.h', |
[email protected] | 6c8011b | 2011-12-15 23:26:56 | [diff] [blame] | 250 | 'cpp/trusted/file_io_trusted.cc', |
| 251 | 'cpp/trusted/file_io_trusted.h', |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 252 | ], |
| 253 | # |
| 254 | # Common Testing source for trusted and untrusted (NaCl) pugins. |
| 255 | # |
[email protected] | 7091950 | 2011-12-16 02:30:03 | [diff] [blame] | 256 | 'test_common_source_files': [ |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 257 | # Common test files |
| 258 | 'tests/all_c_includes.h', |
| 259 | 'tests/all_cpp_includes.h', |
| 260 | 'tests/arch_dependent_sizes_32.h', |
| 261 | 'tests/arch_dependent_sizes_64.h', |
| 262 | 'tests/pp_thread.h', |
| 263 | 'tests/test_case.cc', |
| 264 | 'tests/test_case.h', |
[email protected] | ef5e98e | 2011-12-06 09:49:18 | [diff] [blame] | 265 | 'tests/test_tcp_socket_private_shared.cc', |
| 266 | 'tests/test_tcp_socket_private_shared.h', |
| 267 | 'tests/test_udp_socket_private_shared.cc', |
| 268 | 'tests/test_udp_socket_private_shared.h', |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 269 | 'tests/test_utils.cc', |
| 270 | 'tests/testing_instance.cc', |
| 271 | 'tests/testing_instance.h', |
[email protected] | ef5e98e | 2011-12-06 09:49:18 | [diff] [blame] | 272 | |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 273 | # Compile-time tests |
| 274 | 'tests/test_c_includes.c', |
| 275 | 'tests/test_cpp_includes.cc', |
| 276 | 'tests/test_struct_sizes.c', |
| 277 | ], |
| 278 | # |
| 279 | # Sources used in NaCl tests. |
| 280 | # |
[email protected] | 7091950 | 2011-12-16 02:30:03 | [diff] [blame] | 281 | 'test_nacl_source_files': [ |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 282 | # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER) |
| 283 | 'tests/test_audio_config.cc', |
| 284 | 'tests/test_cursor_control.cc', |
| 285 | 'tests/test_directory_reader.cc', |
| 286 | 'tests/test_file_io.cc', |
| 287 | 'tests/test_file_ref.cc', |
| 288 | 'tests/test_file_system.cc', |
| 289 | 'tests/test_memory.cc', |
| 290 | 'tests/test_graphics_2d.cc', |
| 291 | 'tests/test_image_data.cc', |
| 292 | 'tests/test_paint_aggregator.cc', |
| 293 | 'tests/test_scrollbar.cc', |
| 294 | 'tests/test_url_loader.cc', |
| 295 | 'tests/test_var.cc', |
| 296 | ], |
| 297 | # |
| 298 | # Sources used in trusted tests. |
| 299 | # |
[email protected] | 7091950 | 2011-12-16 02:30:03 | [diff] [blame] | 300 | 'test_trusted_source_files': [ |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 301 | # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER) |
| 302 | 'tests/test_audio.cc', |
| 303 | 'tests/test_audio.h', |
| 304 | 'tests/test_audio_config.cc', |
| 305 | 'tests/test_audio_config.h', |
| 306 | 'tests/test_broker.cc', |
| 307 | 'tests/test_broker.h', |
| 308 | 'tests/test_buffer.cc', |
| 309 | 'tests/test_buffer.h', |
| 310 | 'tests/test_c_includes.c', |
| 311 | 'tests/test_char_set.cc', |
| 312 | 'tests/test_char_set.h', |
| 313 | 'tests/test_core.cc', |
| 314 | 'tests/test_core.h', |
| 315 | 'tests/test_cpp_includes.cc', |
| 316 | 'tests/test_crypto.cc', |
| 317 | 'tests/test_crypto.h', |
| 318 | 'tests/test_cursor_control.cc', |
| 319 | 'tests/test_cursor_control.h', |
| 320 | 'tests/test_directory_reader.cc', |
| 321 | 'tests/test_directory_reader.h', |
| 322 | 'tests/test_file_io.cc', |
| 323 | 'tests/test_file_io.h', |
| 324 | 'tests/test_file_ref.cc', |
| 325 | 'tests/test_file_ref.h', |
| 326 | 'tests/test_file_system.cc', |
| 327 | 'tests/test_file_system.h', |
| 328 | 'tests/test_flash.cc', |
| 329 | 'tests/test_flash.h', |
| 330 | 'tests/test_flash_clipboard.cc', |
| 331 | 'tests/test_flash_clipboard.h', |
| 332 | 'tests/test_flash_fullscreen.cc', |
| 333 | 'tests/test_flash_fullscreen.h', |
| 334 | 'tests/test_fullscreen.cc', |
| 335 | 'tests/test_fullscreen.h', |
| 336 | 'tests/test_graphics_2d.cc', |
| 337 | 'tests/test_graphics_2d.h', |
| 338 | 'tests/test_graphics_3d.cc', |
| 339 | 'tests/test_graphics_3d.h', |
| 340 | 'tests/test_image_data.cc', |
| 341 | 'tests/test_image_data.h', |
| 342 | 'tests/test_input_event.cc', |
| 343 | 'tests/test_input_event.h', |
| 344 | 'tests/test_memory.cc', |
| 345 | 'tests/test_memory.h', |
| 346 | 'tests/test_net_address_private.cc', |
| 347 | 'tests/test_net_address_private.h', |
| 348 | 'tests/test_paint_aggregator.cc', |
| 349 | 'tests/test_paint_aggregator.h', |
| 350 | 'tests/test_post_message.cc', |
| 351 | 'tests/test_post_message.h', |
| 352 | 'tests/test_scrollbar.cc', |
| 353 | 'tests/test_scrollbar.h', |
| 354 | 'tests/test_struct_sizes.c', |
| 355 | 'tests/test_tcp_socket_private.cc', |
| 356 | 'tests/test_tcp_socket_private.h', |
| 357 | 'tests/test_uma.cc', |
| 358 | 'tests/test_uma.h', |
| 359 | 'tests/test_url_loader.cc', |
| 360 | 'tests/test_url_loader.h', |
| 361 | 'tests/test_url_util.cc', |
| 362 | 'tests/test_url_util.h', |
| 363 | 'tests/test_utils.cc', |
| 364 | 'tests/test_utils.h', |
| 365 | 'tests/test_var.cc', |
| 366 | 'tests/test_var.h', |
| 367 | 'tests/test_video_decoder.cc', |
| 368 | 'tests/test_video_decoder.h', |
| 369 | 'tests/test_websocket.cc', |
| 370 | 'tests/test_websocket.h', |
| 371 | |
| 372 | # Deprecated test cases. |
| 373 | 'tests/test_instance_deprecated.cc', |
| 374 | 'tests/test_instance_deprecated.h', |
| 375 | 'tests/test_var_deprecated.cc', |
| 376 | 'tests/test_var_deprecated.h', |
| 377 | ], |
| 378 | }, |
| 379 | 'conditions': [ |
| 380 | ['p2p_apis==1', { |
| 381 | 'variables': { |
[email protected] | 7091950 | 2011-12-16 02:30:03 | [diff] [blame] | 382 | 'c_source_files': [ |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 383 | 'c/dev/ppb_transport_dev.h', |
| 384 | ], |
[email protected] | 7091950 | 2011-12-16 02:30:03 | [diff] [blame] | 385 | 'cpp_source_files': [ |
[email protected] | 1f081e7a | 2011-12-01 19:33:21 | [diff] [blame] | 386 | 'cpp/dev/transport_dev.cc', |
| 387 | 'cpp/dev/transport_dev.h', |
| 388 | ], |
| 389 | }, |
| 390 | }], |
| 391 | ], |
[email protected] | ddd61db | 2011-12-07 06:49:00 | [diff] [blame] | 392 | } |