[Chromium] Fix broken DRT build for Aura Linux
authorfsamuel@chromium.org <fsamuel@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Nov 2011 09:37:51 +0000 (09:37 +0000)
committerfsamuel@chromium.org <fsamuel@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Nov 2011 09:37:51 +0000 (09:37 +0000)
commite6918d0e1037ee402469ac5894e3fc146ae0dcac
tree94c013ef3c85786a2b9c44dbc5cd616bb36d43e9
parente0ecf897374cf95b77813345316122630a06f24d
[Chromium] Fix broken DRT build for Aura Linux
https://bugs.webkit.org/show_bug.cgi?id=72667

Reviewed by Tony Chang.

Source/WebKit/chromium:

* WebKit.gyp:

Tools:

DRT now builds for Aura Linux. This, more or less, shares the same code as Android.

The following changes have been made:

  1. Renamed TestShellAndroid to TestShellLinux.
  2. Stub code moved added in TestShellStub that will only compile on non-GTK Linux builds.
  3. Code common to Gtk, Aura, and Android moved to TestShellLinux.

* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/EventSender.cpp:
(EventSender::keyDown):
* DumpRenderTree/chromium/TestShellAndroid.cpp: Removed.
* DumpRenderTree/chromium/TestShellGtk.cpp:
* DumpRenderTree/chromium/TestShellLinux.cpp: Copied from Tools/DumpRenderTree/chromium/TestShellGtk.cpp.
(AlarmHandler):
(TestShell::waitTestFinished):
(setupFontconfig):
(platformInit):
* DumpRenderTree/chromium/TestShellStub.cpp: Added.
(checkLayoutTestSystemDependencies):
(openStartupDialog):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@101464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/WebKit.gyp
Tools/ChangeLog
Tools/DumpRenderTree/DumpRenderTree.gypi
Tools/DumpRenderTree/chromium/EventSender.cpp
Tools/DumpRenderTree/chromium/TestShellGtk.cpp
Tools/DumpRenderTree/chromium/TestShellLinux.cpp [new file with mode: 0644]
Tools/DumpRenderTree/chromium/TestShellStub.cpp [moved from Tools/DumpRenderTree/chromium/TestShellAndroid.cpp with 59% similarity]