diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 19:41:56 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 19:41:56 +0000 |
commit | 96b80b47470c58f3adbd838856a14960db32ecaf (patch) | |
tree | a83b6d9d718566a55ecb701030ed4da33bc3b15a /content/content_shell.gypi | |
parent | 0d461c5a3a9ced977416a7adb431feeaca46f662 (diff) | |
download | chromium_src-96b80b47470c58f3adbd838856a14960db32ecaf.zip chromium_src-96b80b47470c58f3adbd838856a14960db32ecaf.tar.gz chromium_src-96b80b47470c58f3adbd838856a14960db32ecaf.tar.bz2 |
Expose windows.internals in content shell when running layout tests
Also, enable file access from files for layout tests
BUG=111316
TEST="webkit/tools/layout_tests/run_webkit_tests.py --chromium --debug --driver-name=content_shell --no-retry-failures --additional-drt-flag=--dump-render-tree fast/dom/HTMLDocument/hasFocus.html" fails with TEXT instead of TIMEOUT
Review URL: https://chromiumcodereview.appspot.com/10693081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_shell.gypi')
-rw-r--r-- | content/content_shell.gypi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/content/content_shell.gypi b/content/content_shell.gypi index 78020d4..d68d13c 100644 --- a/content/content_shell.gypi +++ b/content/content_shell.gypi @@ -148,6 +148,25 @@ ['exclude', 'shell/shell_gtk.cc'], ['exclude', 'shell/shell_win.cc'], ], + }], # use_aura==1 + ['inside_chromium_build==0 or component!="shared_library"', { + 'dependencies': [ + '<(webkit_src_dir)/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_test_support', + '<(webkit_src_dir)/Source/WTF/WTF.gyp/WTF.gyp:wtf', + ], + 'include_dirs': [ + # Required for WebTestingSupport.cpp to find our custom config.h. + 'shell/', + '<(webkit_src_dir)/Source/WebKit/chromium/public', + # WARNING: Do not view this particular case as a precedent for + # including WebCore headers in the content shell. + '<(webkit_src_dir)/Source/WebCore/testing/v8', # for WebCoreTestSupport.h needed to link in window.internals code. + ], + 'sources': [ + 'shell/config.h', + '<(webkit_src_dir)/Source/WebKit/chromium/src/WebTestingSupport.cpp', + '<(webkit_src_dir)/Source/WebKit/chromium/public/WebTestingSupport.h', + ], }], ], }, |