-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=67590 Patch by Hao Zheng <zhenghao@chromium.org> on 2011-09-09 Reviewed by Tony Chang. Source/WebKit/chromium: Exclude Android specific files of DRT from other platforms. * WebKit.gyp: Tools: Add 2 mechanism to make DRT interaction more robust on Android: - Send 'QUIT' to DRT to make it stop. - Wait until receiving '#READY' from DRT, so that DRT won't miss any input commands before it starts. And LayoutTestController.cpp needs to include <cctype> for 'tolower' and <clocale> for 'LC_ALL' to compile on Android. Also change to use sigaction instead of signal for TestShellGtk.cpp, as signal() man page recommends using sigaction(). * DumpRenderTree/DumpRenderTree.gypi: * DumpRenderTree/chromium/DumpRenderTree.cpp: (main): * DumpRenderTree/chromium/LayoutTestController.cpp: * DumpRenderTree/chromium/TestShellAndroid.cpp: Added. (AlarmHandler): (TestShell::waitTestFinished): (platformInit): (openStartupDialog): (checkLayoutTestSystemDependencies): * DumpRenderTree/chromium/TestShellGtk.cpp: (AlarmHandler): (TestShell::waitTestFinished): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ae2b1730