summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_shell.gypi')
-rw-r--r--webkit/tools/test_shell/test_shell.gypi188
1 files changed, 59 insertions, 129 deletions
diff --git a/webkit/tools/test_shell/test_shell.gypi b/webkit/tools/test_shell/test_shell.gypi
index 3fa6fa4..abf1fb0 100644
--- a/webkit/tools/test_shell/test_shell.gypi
+++ b/webkit/tools/test_shell/test_shell.gypi
@@ -400,10 +400,6 @@
'../../glue/media/simple_data_source_unittest.cc',
'../../glue/mimetype_unittest.cc',
'../../glue/multipart_response_delegate_unittest.cc',
- '../../glue/plugins/plugin_group_unittest.cc',
- '../../glue/plugins/plugin_lib_unittest.cc',
- '../../glue/plugins/url_request_info_unittest.cc',
- '../../glue/plugins/webplugin_impl_unittest.cc',
'../../glue/regular_expression_unittest.cc',
'../../glue/resource_fetcher_unittest.cc',
'../../glue/unittest_test_server.h',
@@ -415,6 +411,9 @@
'../../mocks/mock_resource_loader_bridge.h',
'../../mocks/mock_webframe.h',
'../../mocks/mock_weburlloader.h',
+ '../../plugins/npapi/plugin_group_unittest.cc',
+ '../../plugins/npapi/plugin_lib_unittest.cc',
+ '../../plugins/npapi/webplugin_impl_unittest.cc',
'../../plugins/ppapi/callbacks_unittest.cc',
'../../plugins/ppapi/mock_plugin_delegate.cc',
'../../plugins/ppapi/mock_plugin_delegate.h',
@@ -422,6 +421,7 @@
'../../plugins/ppapi/ppapi_unittest.cc',
'../../plugins/ppapi/ppapi_unittest.h',
'../../plugins/ppapi/resource_tracker_unittest.cc',
+ '../../plugins/ppapi/url_request_info_unittest.cc',
'../webcore_unit_tests/BMPImageDecoder_unittest.cpp',
'../webcore_unit_tests/ICOImageDecoder_unittest.cpp',
'event_listener_unittest.cc',
@@ -514,13 +514,13 @@
'<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
],
'sources': [
- '../../glue/plugins/test/npapi_constants.cc',
- '../../glue/plugins/test/npapi_constants.h',
- '../../glue/plugins/test/plugin_client.cc',
- '../../glue/plugins/test/plugin_client.h',
- '../../glue/plugins/test/plugin_test.cc',
- '../../glue/plugins/test/plugin_test.h',
- '../../glue/plugins/test/plugin_test_factory.h',
+ '../../plugins/npapi/test/npapi_constants.cc',
+ '../../plugins/npapi/test/npapi_constants.h',
+ '../../plugins/npapi/test/plugin_client.cc',
+ '../../plugins/npapi/test/plugin_client.h',
+ '../../plugins/npapi/test/plugin_test.cc',
+ '../../plugins/npapi/test/plugin_test.h',
+ '../../plugins/npapi/test/plugin_test_factory.h',
],
},
{
@@ -536,51 +536,51 @@
'npapi_test_common',
],
'sources': [
- '../../glue/plugins/test/npapi_test.cc',
- '../../glue/plugins/test/npapi_test.def',
- '../../glue/plugins/test/npapi_test.rc',
- '../../glue/plugins/test/plugin_arguments_test.cc',
- '../../glue/plugins/test/plugin_arguments_test.h',
- '../../glue/plugins/test/plugin_create_instance_in_paint.cc',
- '../../glue/plugins/test/plugin_create_instance_in_paint.h',
- '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.cc',
- '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.h',
- '../../glue/plugins/test/plugin_get_javascript_url_test.cc',
- '../../glue/plugins/test/plugin_get_javascript_url_test.h',
- '../../glue/plugins/test/plugin_get_javascript_url2_test.cc',
- '../../glue/plugins/test/plugin_get_javascript_url2_test.h',
- '../../glue/plugins/test/plugin_geturl_test.cc',
- '../../glue/plugins/test/plugin_geturl_test.h',
- '../../glue/plugins/test/plugin_javascript_open_popup.cc',
- '../../glue/plugins/test/plugin_javascript_open_popup.h',
- '../../glue/plugins/test/plugin_new_fails_test.cc',
- '../../glue/plugins/test/plugin_new_fails_test.h',
- '../../glue/plugins/test/plugin_npobject_lifetime_test.cc',
- '../../glue/plugins/test/plugin_npobject_lifetime_test.h',
- '../../glue/plugins/test/plugin_npobject_proxy_test.cc',
- '../../glue/plugins/test/plugin_npobject_proxy_test.h',
- '../../glue/plugins/test/plugin_schedule_timer_test.cc',
- '../../glue/plugins/test/plugin_schedule_timer_test.h',
- '../../glue/plugins/test/plugin_setup_test.cc',
- '../../glue/plugins/test/plugin_setup_test.h',
- '../../glue/plugins/test/plugin_thread_async_call_test.cc',
- '../../glue/plugins/test/plugin_thread_async_call_test.h',
- '../../glue/plugins/test/plugin_windowed_test.cc',
- '../../glue/plugins/test/plugin_windowed_test.h',
- '../../glue/plugins/test/plugin_private_test.cc',
- '../../glue/plugins/test/plugin_private_test.h',
- '../../glue/plugins/test/plugin_test_factory.cc',
- '../../glue/plugins/test/plugin_window_size_test.cc',
- '../../glue/plugins/test/plugin_window_size_test.h',
- '../../glue/plugins/test/plugin_windowless_test.cc',
- '../../glue/plugins/test/plugin_windowless_test.h',
- '../../glue/plugins/test/resource.h',
+ '../../plugins/npapi/test/npapi_test.cc',
+ '../../plugins/npapi/test/npapi_test.def',
+ '../../plugins/npapi/test/npapi_test.rc',
+ '../../plugins/npapi/test/plugin_arguments_test.cc',
+ '../../plugins/npapi/test/plugin_arguments_test.h',
+ '../../plugins/npapi/test/plugin_create_instance_in_paint.cc',
+ '../../plugins/npapi/test/plugin_create_instance_in_paint.h',
+ '../../plugins/npapi/test/plugin_delete_plugin_in_stream_test.cc',
+ '../../plugins/npapi/test/plugin_delete_plugin_in_stream_test.h',
+ '../../plugins/npapi/test/plugin_get_javascript_url_test.cc',
+ '../../plugins/npapi/test/plugin_get_javascript_url_test.h',
+ '../../plugins/npapi/test/plugin_get_javascript_url2_test.cc',
+ '../../plugins/npapi/test/plugin_get_javascript_url2_test.h',
+ '../../plugins/npapi/test/plugin_geturl_test.cc',
+ '../../plugins/npapi/test/plugin_geturl_test.h',
+ '../../plugins/npapi/test/plugin_javascript_open_popup.cc',
+ '../../plugins/npapi/test/plugin_javascript_open_popup.h',
+ '../../plugins/npapi/test/plugin_new_fails_test.cc',
+ '../../plugins/npapi/test/plugin_new_fails_test.h',
+ '../../plugins/npapi/test/plugin_npobject_lifetime_test.cc',
+ '../../plugins/npapi/test/plugin_npobject_lifetime_test.h',
+ '../../plugins/npapi/test/plugin_npobject_proxy_test.cc',
+ '../../plugins/npapi/test/plugin_npobject_proxy_test.h',
+ '../../plugins/npapi/test/plugin_schedule_timer_test.cc',
+ '../../plugins/npapi/test/plugin_schedule_timer_test.h',
+ '../../plugins/npapi/test/plugin_setup_test.cc',
+ '../../plugins/npapi/test/plugin_setup_test.h',
+ '../../plugins/npapi/test/plugin_thread_async_call_test.cc',
+ '../../plugins/npapi/test/plugin_thread_async_call_test.h',
+ '../../plugins/npapi/test/plugin_windowed_test.cc',
+ '../../plugins/npapi/test/plugin_windowed_test.h',
+ '../../plugins/npapi/test/plugin_private_test.cc',
+ '../../plugins/npapi/test/plugin_private_test.h',
+ '../../plugins/npapi/test/plugin_test_factory.cc',
+ '../../plugins/npapi/test/plugin_window_size_test.cc',
+ '../../plugins/npapi/test/plugin_window_size_test.h',
+ '../../plugins/npapi/test/plugin_windowless_test.cc',
+ '../../plugins/npapi/test/plugin_windowless_test.h',
+ '../../plugins/npapi/test/resource.h',
],
'include_dirs': [
'../../..',
],
'xcode_settings': {
- 'INFOPLIST_FILE': '<(DEPTH)/webkit/glue/plugins/test/Info.plist',
+ 'INFOPLIST_FILE': '<(DEPTH)/webkit/plugins/npapi/test/Info.plist',
},
'conditions': [
['OS!="win"', {
@@ -588,16 +588,16 @@
# TODO(port): Port these.
# plugin_npobject_lifetime_test.cc has win32-isms
# (HWND, CALLBACK).
- '../../glue/plugins/test/plugin_npobject_lifetime_test.cc',
+ '../../plugins/npapi/test/plugin_npobject_lifetime_test.cc',
# The window APIs are necessarily platform-specific.
- '../../glue/plugins/test/plugin_window_size_test.cc',
- '../../glue/plugins/test/plugin_windowed_test.cc',
+ '../../plugins/npapi/test/plugin_window_size_test.cc',
+ '../../plugins/npapi/test/plugin_windowed_test.cc',
# Seems windows specific.
- '../../glue/plugins/test/plugin_create_instance_in_paint.cc',
- '../../glue/plugins/test/plugin_create_instance_in_paint.h',
+ '../../plugins/npapi/test/plugin_create_instance_in_paint.cc',
+ '../../plugins/npapi/test/plugin_create_instance_in_paint.h',
# windows-specific resources
- '../../glue/plugins/test/npapi_test.def',
- '../../glue/plugins/test/npapi_test.rc',
+ '../../plugins/npapi/test/npapi_test.def',
+ '../../plugins/npapi/test/npapi_test.rc',
],
}],
['OS=="mac"', {
@@ -611,7 +611,7 @@
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
'sources!': [
# Needs simple event record type porting
- '../../glue/plugins/test/plugin_windowless_test.cc',
+ '../../plugins/npapi/test/plugin_windowless_test.cc',
],
}],
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and (target_arch=="x64" or target_arch=="arm")', {
@@ -653,76 +653,6 @@
}],
],
},
- {
- 'target_name': 'npapi_pepper_test_plugin',
- 'type': 'loadable_module',
- 'mac_bundle': 1,
- 'msvs_guid': '821F3B89-6AE1-4254-99CB-93C04D0A79BE',
- 'dependencies': [
- '<(DEPTH)/gpu/gpu.gyp:pgl',
- '<(DEPTH)/third_party/gles2_book/gles2_book.gyp:stencil_test',
- 'npapi_test_common',
- ],
- 'sources': [
- '../npapi_pepper_test_plugin/main.cc',
- '../npapi_pepper_test_plugin/pepper_3d_test.cc',
- '../npapi_pepper_test_plugin/pepper_3d_test.h',
- '../npapi_pepper_test_plugin/plugin.def',
- '../npapi_pepper_test_plugin/plugin.rc',
- '../npapi_pepper_test_plugin/test_factory.cc',
- ],
- 'include_dirs': [
- '../../..',
- ],
- 'conditions': [
- ['OS!="win"', {
- # windows-specific resources
- 'sources!': [
- '../npapi_pepper_test_plugin/plugin.def',
- '../npapi_pepper_test_plugin/plugin.rc',
- ],
- }],
- ['OS=="mac"', {
- 'product_extension': 'plugin',
- }],
- ],
- 'xcode_settings': {
- 'INFOPLIST_FILE': '<(DEPTH)/webkit/tools/npapi_pepper_test_plugin/Info.plist',
- },
- },
- {
- 'target_name': 'copy_npapi_pepper_test_plugin',
- 'type': 'none',
- 'dependencies': [
- 'npapi_pepper_test_plugin',
- ],
- 'conditions': [
- ['OS=="win"', {
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)/plugins',
- 'files': ['<(PRODUCT_DIR)/npapi_pepper_test_plugin.dll'],
- },
- ],
- }],
- ['OS=="mac"', {
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)/plugins/',
- 'files': ['<(PRODUCT_DIR)/npapi_pepper_test_plugin.plugin/'],
- },
- ]
- }],
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)/plugins',
- 'files': ['<(PRODUCT_DIR)/libnpapi_pepper_test_plugin.so'],
- },
- ],
- }],
- ],
- },
],
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {