| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'ppapi_example', | 8 'target_name': 'ppapi_example', |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 'ppapi.gyp:ppapi_cpp' | 10 'ppapi.gyp:ppapi_cpp' |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 # }], | 57 # }], |
| 58 #], | 58 #], |
| 59 }, | 59 }, |
| 60 { | 60 { |
| 61 'target_name': 'ppapi_tests', | 61 'target_name': 'ppapi_tests', |
| 62 'type': 'loadable_module', | 62 'type': 'loadable_module', |
| 63 'include_dirs': [ | 63 'include_dirs': [ |
| 64 'lib/gl/include', | 64 'lib/gl/include', |
| 65 ], | 65 ], |
| 66 'sources': [ | 66 'sources': [ |
| 67 # Common test files. | 67 '<@(test_sources_common)', |
| 68 'tests/test_case.cc', | 68 '<@(test_sources_trusted)', |
| 69 'tests/test_case.h', | |
| 70 'tests/testing_instance.cc', | |
| 71 'tests/testing_instance.h', | |
| 72 | |
| 73 # Test cases. | |
| 74 'tests/all_c_includes.h', | |
| 75 'tests/all_cpp_includes.h', | |
| 76 'tests/arch_dependent_sizes_32.h', | |
| 77 'tests/arch_dependent_sizes_64.h', | |
| 78 'tests/pp_thread.h', | |
| 79 'tests/test_audio.cc', | |
| 80 'tests/test_audio.h', | |
| 81 'tests/test_audio_config.cc', | |
| 82 'tests/test_audio_config.h', | |
| 83 'tests/test_broker.cc', | |
| 84 'tests/test_broker.h', | |
| 85 'tests/test_buffer.cc', | |
| 86 'tests/test_buffer.h', | |
| 87 'tests/test_c_includes.c', | |
| 88 'tests/test_char_set.cc', | |
| 89 'tests/test_char_set.h', | |
| 90 'tests/test_core.cc', | |
| 91 'tests/test_core.h', | |
| 92 'tests/test_cpp_includes.cc', | |
| 93 'tests/test_crypto.cc', | |
| 94 'tests/test_crypto.h', | |
| 95 'tests/test_cursor_control.cc', | |
| 96 'tests/test_cursor_control.h', | |
| 97 'tests/test_directory_reader.cc', | |
| 98 'tests/test_directory_reader.h', | |
| 99 'tests/test_file_io.cc', | |
| 100 'tests/test_file_io.h', | |
| 101 'tests/test_file_ref.cc', | |
| 102 'tests/test_file_ref.h', | |
| 103 'tests/test_file_system.cc', | |
| 104 'tests/test_file_system.h', | |
| 105 'tests/test_flash.cc', | |
| 106 'tests/test_flash.h', | |
| 107 'tests/test_flash_clipboard.cc', | |
| 108 'tests/test_flash_clipboard.h', | |
| 109 'tests/test_flash_fullscreen.cc', | |
| 110 'tests/test_flash_fullscreen.h', | |
| 111 'tests/test_fullscreen.cc', | |
| 112 'tests/test_fullscreen.h', | |
| 113 'tests/test_graphics_2d.cc', | |
| 114 'tests/test_graphics_2d.h', | |
| 115 'tests/test_graphics_3d.cc', | |
| 116 'tests/test_graphics_3d.h', | |
| 117 'tests/test_image_data.cc', | |
| 118 'tests/test_image_data.h', | |
| 119 'tests/test_input_event.cc', | |
| 120 'tests/test_input_event.h', | |
| 121 'tests/test_memory.cc', | |
| 122 'tests/test_memory.h', | |
| 123 'tests/test_net_address_private.cc', | |
| 124 'tests/test_net_address_private.h', | |
| 125 'tests/test_paint_aggregator.cc', | |
| 126 'tests/test_paint_aggregator.h', | |
| 127 'tests/test_post_message.cc', | |
| 128 'tests/test_post_message.h', | |
| 129 'tests/test_scrollbar.cc', | |
| 130 'tests/test_scrollbar.h', | |
| 131 'tests/test_struct_sizes.c', | |
| 132 'tests/test_tcp_socket_private.cc', | |
| 133 'tests/test_tcp_socket_private.h', | |
| 134 'tests/test_uma.cc', | |
| 135 'tests/test_uma.h', | |
| 136 'tests/test_url_loader.cc', | |
| 137 'tests/test_url_loader.h', | |
| 138 'tests/test_url_util.cc', | |
| 139 'tests/test_url_util.h', | |
| 140 'tests/test_utils.cc', | |
| 141 'tests/test_utils.h', | |
| 142 'tests/test_var.cc', | |
| 143 'tests/test_var.h', | |
| 144 'tests/test_video_decoder.cc', | |
| 145 'tests/test_video_decoder.h', | |
| 146 'tests/test_websocket.cc', | |
| 147 'tests/test_websocket.h', | |
| 148 | |
| 149 # Deprecated test cases. | |
| 150 'tests/test_instance_deprecated.cc', | |
| 151 'tests/test_instance_deprecated.h', | |
| 152 'tests/test_var_deprecated.cc', | |
| 153 'tests/test_var_deprecated.h', | |
| 154 ], | 69 ], |
| 155 'dependencies': [ | 70 'dependencies': [ |
| 156 'ppapi.gyp:ppapi_cpp', | 71 'ppapi.gyp:ppapi_cpp', |
| 157 'ppapi_internal.gyp:ppapi_shared', | 72 'ppapi_internal.gyp:ppapi_shared', |
| 158 ], | 73 ], |
| 159 'run_as': { | 74 'run_as': { |
| 160 'action': [ | 75 'action': [ |
| 161 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 76 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
| 162 '--enable-pepper-testing', | 77 '--enable-pepper-testing', |
| 163 '--enable-accelerated-plugins', | 78 '--enable-accelerated-plugins', |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 'ppapi.gyp:ppapi_egl', | 342 'ppapi.gyp:ppapi_egl', |
| 428 ], | 343 ], |
| 429 'include_dirs': [ | 344 'include_dirs': [ |
| 430 'lib/gl/include', | 345 'lib/gl/include', |
| 431 ], | 346 ], |
| 432 'sources': [ | 347 'sources': [ |
| 433 'examples/video_capture/video_capture.cc', | 348 'examples/video_capture/video_capture.cc', |
| 434 ], | 349 ], |
| 435 }, | 350 }, |
| 436 ], | 351 ], |
| 437 'conditions': [ | |
| 438 ['disable_nacl!=1', { | |
| 439 'targets': [ | |
| 440 { | |
| 441 'target_name': 'ppapi_nacl_tests', | |
| 442 'type': 'none', | |
| 443 'dependencies': [ | |
| 444 'native_client/native_client.gyp:ppapi_lib', | |
| 445 'native_client/native_client.gyp:nacl_irt', | |
| 446 'ppapi.gyp:ppapi_cpp_lib', | |
| 447 ], | |
| 448 'variables': { | |
| 449 'nexe_target': 'ppapi_nacl_tests', | |
| 450 'build_glibc': 0, | |
| 451 'build_newlib': 1, | |
| 452 'include_dirs': [ | |
| 453 'lib/gl/include', | |
| 454 '..', | |
| 455 ], | |
| 456 'link_flags': [ | |
| 457 '-lppapi_cpp', | |
| 458 '-lppapi', | |
| 459 ], | |
| 460 'extra_deps64': [ | |
| 461 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', | |
| 462 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', | |
| 463 ], | |
| 464 'extra_deps32': [ | |
| 465 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', | |
| 466 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', | |
| 467 ], | |
| 468 'sources': [ | |
| 469 # Common test files | |
| 470 'tests/test_case.cc', | |
| 471 'tests/test_utils.cc', | |
| 472 'tests/testing_instance.cc', | |
| 473 | |
| 474 # Compile-time tests | |
| 475 'tests/test_c_includes.c', | |
| 476 'tests/test_cpp_includes.cc', | |
| 477 'tests/test_struct_sizes.c', | |
| 478 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER) | |
| 479 | |
| 480 # Add/uncomment PPAPI interfaces below when they get proxied. | |
| 481 # Not yet proxied. | |
| 482 #'test_broker.cc', | |
| 483 # Not yet proxied. | |
| 484 #'test_buffer.cc', | |
| 485 # Not yet proxied. | |
| 486 #'test_char_set.cc', | |
| 487 'tests/test_cursor_control.cc', | |
| 488 # Fails in DeleteDirectoryRecursively. | |
| 489 # BUG: http://code.google.com/p/nativeclient/issues/detail?id=2107 | |
| 490 #'test_directory_reader.cc', | |
| 491 'tests/test_file_io.cc', | |
| 492 'tests/test_file_ref.cc', | |
| 493 'tests/test_file_system.cc', | |
| 494 'tests/test_memory.cc', | |
| 495 'tests/test_graphics_2d.cc', | |
| 496 'tests/test_image_data.cc', | |
| 497 'tests/test_paint_aggregator.cc', | |
| 498 # test_post_message.cc relies on synchronous scripting, which is n
ot | |
| 499 # available for untrusted tests. | |
| 500 # Does not compile under nacl (uses private interface ExecuteScrip
t). | |
| 501 #'test_post_message.cc', | |
| 502 'tests/test_scrollbar.cc', | |
| 503 # Not yet proxied. | |
| 504 #'tests/test_transport.cc', | |
| 505 # Not yet proxied. | |
| 506 #'tests/test_uma.cc', | |
| 507 'tests/test_url_loader.cc', | |
| 508 # Does not compile under nacl (uses VarPrivate). | |
| 509 #'test_url_util.cc', | |
| 510 # Not yet proxied. | |
| 511 #'test_video_decoder.cc', | |
| 512 'tests/test_var.cc', | |
| 513 | |
| 514 # Deprecated test cases. | |
| 515 #'tests/test_instance_deprecated.cc', | |
| 516 # Var_deprecated fails in TestPassReference, and we probably won't | |
| 517 # fix it. | |
| 518 #'tests/test_var_deprecated.cc' | |
| 519 ], | |
| 520 }, | |
| 521 }, | |
| 522 ], | |
| 523 }], | |
| 524 ], | |
| 525 } | 352 } |
| OLD | NEW |