OLD | NEW |
(Empty) | |
| 1 { |
| 2 'conditions': [ |
| 3 ['OS=="linux" or OS=="win"', { |
| 4 'targets': [ |
| 5 { |
| 6 # TODO: enable on mac. |
| 7 'target_name': 'interactive_ui_tests', |
| 8 'type': 'executable', |
| 9 'msvs_guid': '018D4F38-6272-448F-A864-976DA09F05D0', |
| 10 'dependencies': [ |
| 11 '../../chrome.gyp:chrome', |
| 12 '../../chrome.gyp:chrome_resources', |
| 13 '../../chrome.gyp:chrome_strings', |
| 14 '../../chrome.gyp:debugger', |
| 15 '../../chrome.gyp:test_support_common', |
| 16 '../../chrome.gyp:test_support_ui', |
| 17 '../../chrome.gyp:syncapi', |
| 18 '../../../third_party/hunspell/hunspell.gyp:hunspell', |
| 19 '../../../net/net.gyp:net_resources', |
| 20 '../../../skia/skia.gyp:skia', |
| 21 '../../../third_party/icu/icu.gyp:icui18n', |
| 22 '../../../third_party/libpng/libpng.gyp:libpng', |
| 23 '../../../third_party/libxml/libxml.gyp:libxml', |
| 24 '../../../third_party/zlib/zlib.gyp:zlib', |
| 25 '../../../testing/gtest.gyp:gtest', |
| 26 '../../../third_party/npapi/npapi.gyp:npapi', |
| 27 # run time dependency |
| 28 '../../../webkit/webkit.gyp:webkit_resources', |
| 29 ], |
| 30 'include_dirs': [ |
| 31 '../../../', |
| 32 ], |
| 33 # TODO(phajdan.jr): Only temporary, to make transition easier. |
| 34 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
| 35 'sources': [ |
| 36 '../../browser/autocomplete/autocomplete_edit_view_browsertest.cc', |
| 37 '../../browser/browser_focus_uitest.cc', |
| 38 '../../browser/debugger/devtools_sanity_unittest.cc', |
| 39 '../../browser/views/bookmark_bar_view_test.cc', |
| 40 '../../browser/blocked_popup_container_interactive_uitest.cc', |
| 41 '../../browser/views/find_bar_host_interactive_uitest.cc', |
| 42 '../../browser/views/tabs/tab_dragging_test.cc', |
| 43 '../../test/in_process_browser_test.cc', |
| 44 '../../test/in_process_browser_test.h', |
| 45 '../../test/interactive_ui/npapi_interactive_test.cc', |
| 46 '../../test/interactive_ui/view_event_test_base.cc', |
| 47 '../../test/interactive_ui/view_event_test_base.h', |
| 48 ], |
| 49 'conditions': [ |
| 50 ['OS=="linux"', { |
| 51 'dependencies': [ |
| 52 '../../../build/linux/system.gyp:gtk', |
| 53 '../../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 54 ], |
| 55 'sources!': [ |
| 56 # TODO(port) |
| 57 '../../browser/views/bookmark_bar_view_test.cc', |
| 58 '../../browser/views/find_bar_host_interactive_uitest.cc', |
| 59 '../../browser/views/tabs/tab_dragging_test.cc', |
| 60 '../../test/interactive_ui/npapi_interactive_test.cc', |
| 61 '../../test/interactive_ui/view_event_test_base.cc', |
| 62 '../../test/interactive_ui/view_event_test_base.h', |
| 63 ], |
| 64 }], # OS=="linux" |
| 65 ['target_arch!="x64"', { |
| 66 'dependencies': [ |
| 67 # run time dependency |
| 68 '../../../webkit/tools/test_shell/test_shell.gyp:npapi_test_plug
in', |
| 69 ], |
| 70 }], # target_arch |
| 71 ['OS=="linux" and toolkit_views==1', { |
| 72 'dependencies': [ |
| 73 '../../../views/views.gyp:views', |
| 74 ], |
| 75 }], |
| 76 ['OS=="mac"', { |
| 77 'sources!': [ |
| 78 # TODO(port) |
| 79 '../../browser/autocomplete/autocomplete_edit_view_browsertest.c
c', |
| 80 '../../browser/browser_focus_uitest.cc', |
| 81 '../../browser/debugger/devtools_sanity_unittest.cc', |
| 82 '../../browser/views/bookmark_bar_view_test.cc', |
| 83 '../../browser/blocked_popup_container_interactive_uitest.cc', |
| 84 '../../browser/views/find_bar_host_interactive_uitest.cc', |
| 85 '../../browser/views/tabs/tab_dragging_test.cc', |
| 86 '../../test/interactive_ui/npapi_interactive_test.cc', |
| 87 '../../test/interactive_ui/view_event_test_base.cc', |
| 88 '../../test/interactive_ui/view_event_test_base.h', |
| 89 ], |
| 90 }], # OS=="mac" |
| 91 ['OS=="win"', { |
| 92 'include_dirs': [ |
| 93 '../../third_party/wtl/include', |
| 94 ], |
| 95 'dependencies': [ |
| 96 '../../chrome.gyp:chrome_dll_version', |
| 97 '../../chrome.gyp:crash_service', # run time dependency |
| 98 '../../installer/installer.gyp:installer_util_strings', |
| 99 '../../../views/views.gyp:views', |
| 100 '../../../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| 101 ], |
| 102 'sources': [ |
| 103 '../../../webkit/glue/resources/aliasb.cur', |
| 104 '../../../webkit/glue/resources/cell.cur', |
| 105 '../../../webkit/glue/resources/col_resize.cur', |
| 106 '../../../webkit/glue/resources/copy.cur', |
| 107 '../../../webkit/glue/resources/row_resize.cur', |
| 108 '../../../webkit/glue/resources/vertical_text.cur', |
| 109 '../../../webkit/glue/resources/zoom_in.cur', |
| 110 '../../../webkit/glue/resources/zoom_out.cur', |
| 111 |
| 112 '../../app/chrome_dll.rc', |
| 113 '../../test/data/resource.rc', |
| 114 |
| 115 # TODO: It would be nice to have these pulled in |
| 116 # automatically from direct_dependent_settings in |
| 117 # their various targets (net.gyp:net_resources, etc.), |
| 118 # but that causes errors in other targets when |
| 119 # resulting .res files get referenced multiple times. |
| 120 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| 121 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| 122 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
| 123 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| 124 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| 125 ], |
| 126 'configurations': { |
| 127 'Debug': { |
| 128 'msvs_settings': { |
| 129 'VCLinkerTool': { |
| 130 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| 131 }, |
| 132 }, |
| 133 }, |
| 134 }, # configurations |
| 135 }], # OS=="win" |
| 136 ], # conditions |
| 137 } |
| 138 ], # targets |
| 139 }], # 'OS=="linux" or OS=="win"' |
| 140 ['OS=="mac"', { |
| 141 'targets': [ |
| 142 { |
| 143 # TODO: enable on mac. |
| 144 'target_name': 'interactive_ui_tests', |
| 145 'type': 'none', |
| 146 } |
| 147 ] |
| 148 }] |
| 149 ] # conditions |
| 150 } |
OLD | NEW |