diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 17:12:08 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 17:12:08 +0000 |
commit | e91d532339c854ff0a082c6562a519647524fa66 (patch) | |
tree | 0c8da65a4a6e35fb05b8090ce128a433d1f59128 /chrome/test/interactive_ui | |
parent | 02e93cf333124a0f8b48982f9b2540edea7e23ea (diff) | |
download | chromium_src-e91d532339c854ff0a082c6562a519647524fa66.zip chromium_src-e91d532339c854ff0a082c6562a519647524fa66.tar.gz chromium_src-e91d532339c854ff0a082c6562a519647524fa66.tar.bz2 |
Extracting the interactive ui tests to their own GYP file.
BUG=None
TEST=The interactive tests should still build and run on Windows and Linux
Review URL: http://codereview.chromium.org/259018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28404 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/interactive_ui')
-rw-r--r-- | chrome/test/interactive_ui/interactive_ui_test.gyp | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/chrome/test/interactive_ui/interactive_ui_test.gyp b/chrome/test/interactive_ui/interactive_ui_test.gyp new file mode 100644 index 0000000..50fe57d --- /dev/null +++ b/chrome/test/interactive_ui/interactive_ui_test.gyp @@ -0,0 +1,150 @@ +{ + 'conditions': [ + ['OS=="linux" or OS=="win"', { + 'targets': [ + { + # TODO: enable on mac. + 'target_name': 'interactive_ui_tests', + 'type': 'executable', + 'msvs_guid': '018D4F38-6272-448F-A864-976DA09F05D0', + 'dependencies': [ + '../../chrome.gyp:chrome', + '../../chrome.gyp:chrome_resources', + '../../chrome.gyp:chrome_strings', + '../../chrome.gyp:debugger', + '../../chrome.gyp:test_support_common', + '../../chrome.gyp:test_support_ui', + '../../chrome.gyp:syncapi', + '../../../third_party/hunspell/hunspell.gyp:hunspell', + '../../../net/net.gyp:net_resources', + '../../../skia/skia.gyp:skia', + '../../../third_party/icu/icu.gyp:icui18n', + '../../../third_party/libpng/libpng.gyp:libpng', + '../../../third_party/libxml/libxml.gyp:libxml', + '../../../third_party/zlib/zlib.gyp:zlib', + '../../../testing/gtest.gyp:gtest', + '../../../third_party/npapi/npapi.gyp:npapi', + # run time dependency + '../../../webkit/webkit.gyp:webkit_resources', + ], + 'include_dirs': [ + '../../../', + ], + # TODO(phajdan.jr): Only temporary, to make transition easier. + 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], + 'sources': [ + '../../browser/autocomplete/autocomplete_edit_view_browsertest.cc', + '../../browser/browser_focus_uitest.cc', + '../../browser/debugger/devtools_sanity_unittest.cc', + '../../browser/views/bookmark_bar_view_test.cc', + '../../browser/blocked_popup_container_interactive_uitest.cc', + '../../browser/views/find_bar_host_interactive_uitest.cc', + '../../browser/views/tabs/tab_dragging_test.cc', + '../../test/in_process_browser_test.cc', + '../../test/in_process_browser_test.h', + '../../test/interactive_ui/npapi_interactive_test.cc', + '../../test/interactive_ui/view_event_test_base.cc', + '../../test/interactive_ui/view_event_test_base.h', + ], + 'conditions': [ + ['OS=="linux"', { + 'dependencies': [ + '../../../build/linux/system.gyp:gtk', + '../../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', + ], + 'sources!': [ + # TODO(port) + '../../browser/views/bookmark_bar_view_test.cc', + '../../browser/views/find_bar_host_interactive_uitest.cc', + '../../browser/views/tabs/tab_dragging_test.cc', + '../../test/interactive_ui/npapi_interactive_test.cc', + '../../test/interactive_ui/view_event_test_base.cc', + '../../test/interactive_ui/view_event_test_base.h', + ], + }], # OS=="linux" + ['target_arch!="x64"', { + 'dependencies': [ + # run time dependency + '../../../webkit/tools/test_shell/test_shell.gyp:npapi_test_plugin', + ], + }], # target_arch + ['OS=="linux" and toolkit_views==1', { + 'dependencies': [ + '../../../views/views.gyp:views', + ], + }], + ['OS=="mac"', { + 'sources!': [ + # TODO(port) + '../../browser/autocomplete/autocomplete_edit_view_browsertest.cc', + '../../browser/browser_focus_uitest.cc', + '../../browser/debugger/devtools_sanity_unittest.cc', + '../../browser/views/bookmark_bar_view_test.cc', + '../../browser/blocked_popup_container_interactive_uitest.cc', + '../../browser/views/find_bar_host_interactive_uitest.cc', + '../../browser/views/tabs/tab_dragging_test.cc', + '../../test/interactive_ui/npapi_interactive_test.cc', + '../../test/interactive_ui/view_event_test_base.cc', + '../../test/interactive_ui/view_event_test_base.h', + ], + }], # OS=="mac" + ['OS=="win"', { + 'include_dirs': [ + '../../third_party/wtl/include', + ], + 'dependencies': [ + '../../chrome.gyp:chrome_dll_version', + '../../chrome.gyp:crash_service', # run time dependency + '../../installer/installer.gyp:installer_util_strings', + '../../../views/views.gyp:views', + '../../../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', + ], + 'sources': [ + '../../../webkit/glue/resources/aliasb.cur', + '../../../webkit/glue/resources/cell.cur', + '../../../webkit/glue/resources/col_resize.cur', + '../../../webkit/glue/resources/copy.cur', + '../../../webkit/glue/resources/row_resize.cur', + '../../../webkit/glue/resources/vertical_text.cur', + '../../../webkit/glue/resources/zoom_in.cur', + '../../../webkit/glue/resources/zoom_out.cur', + + '../../app/chrome_dll.rc', + '../../test/data/resource.rc', + + # TODO: It would be nice to have these pulled in + # automatically from direct_dependent_settings in + # their various targets (net.gyp:net_resources, etc.), + # but that causes errors in other targets when + # resulting .res files get referenced multiple times. + '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', + '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', + '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', + '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', + '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', + ], + 'configurations': { + 'Debug': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', + }, + }, + }, + }, # configurations + }], # OS=="win" + ], # conditions + } + ], # targets + }], # 'OS=="linux" or OS=="win"' + ['OS=="mac"', { + 'targets': [ + { + # TODO: enable on mac. + 'target_name': 'interactive_ui_tests', + 'type': 'none', + } + ] + }] + ] # conditions +} |