Commit 66c47ace authored by baxley's avatar baxley Committed by Commit bot

Move web shell test support into a separate target.

Test utilities should not be a part of the test case target.

BUG=606815

Review URL: https://codereview.chromium.org/1922633003

Cr-Commit-Position: refs/heads/master@{#389833}
parent ee4f4a74
...@@ -53,21 +53,11 @@ ...@@ -53,21 +53,11 @@
'INFOPLIST_FILE': 'shell/test/Host-Info.plist', 'INFOPLIST_FILE': 'shell/test/Host-Info.plist',
}, },
'dependencies': [ 'dependencies': [
'ios_web_shell_test_support',
'<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
'ios_web.gyp:ios_web_test_support',
], ],
'sources': [ 'sources': [
'public/test/http_server_util.h',
'public/test/http_server_util.mm',
'shell/test/navigation_test_util.h',
'shell/test/navigation_test_util.mm',
'shell/test/shell_matchers.h',
'shell/test/shell_matchers.mm',
'shell/test/web_shell_navigation_egtest.mm', 'shell/test/web_shell_navigation_egtest.mm',
'shell/test/web_shell_test_util.h',
'shell/test/web_shell_test_util.mm',
'shell/test/web_view_matchers.h',
'shell/test/web_view_matchers.mm',
], ],
'postbuilds': [ 'postbuilds': [
{ {
...@@ -88,5 +78,27 @@ ...@@ -88,5 +78,27 @@
}, },
], ],
}, },
{
# TODO(crbug.com/606815): Refactor out code that is common across Chrome
# and the web shell.
'target_name': 'ios_web_shell_test_support',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
'ios_web.gyp:ios_web_test_support',
],
'sources': [
'public/test/http_server_util.h',
'public/test/http_server_util.mm',
'shell/test/navigation_test_util.h',
'shell/test/navigation_test_util.mm',
'shell/test/shell_matchers.h',
'shell/test/shell_matchers.mm',
'shell/test/web_shell_test_util.h',
'shell/test/web_shell_test_util.mm',
'shell/test/web_view_matchers.h',
'shell/test/web_view_matchers.mm',
],
},
], ],
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment