summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell.gyp
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 16:02:04 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 16:02:04 +0000
commit5a7f0b9b48976c5e043eabf4d6e54f0cf19f01c9 (patch)
treeff82b5f19bb106cbd67984c44604b414289ba12b /webkit/tools/test_shell/test_shell.gyp
parent5982f1f39f5cab5a9e6d61ac2386d0f09c7cf0c7 (diff)
downloadchromium_src-5a7f0b9b48976c5e043eabf4d6e54f0cf19f01c9.zip
chromium_src-5a7f0b9b48976c5e043eabf4d6e54f0cf19f01c9.tar.gz
chromium_src-5a7f0b9b48976c5e043eabf4d6e54f0cf19f01c9.tar.bz2
Fixing WebKeyboardEvent. Third time's the charm.
Review URL: http://codereview.chromium.org/27332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10794 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.gyp')
-rw-r--r--webkit/tools/test_shell/test_shell.gyp14
1 files changed, 11 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/test_shell.gyp b/webkit/tools/test_shell/test_shell.gyp
index 8970991..64783c7 100644
--- a/webkit/tools/test_shell/test_shell.gyp
+++ b/webkit/tools/test_shell/test_shell.gyp
@@ -82,7 +82,15 @@
],
'conditions': [
['OS!="linux"', {'sources/': [['exclude', '_gtk\\.cc$']]}],
- ['OS!="mac"', {
+ ['OS=="mac"', {
+ 'sources': [
+ # Windows/Linux use this code normally when constructing events, so
+ # in test_shell they get it from glue. The Mac has its own code for
+ # accomplishing it, so in test_shell, where events are constructed
+ # from scratch, we need to pull this in.
+ '../../glue/webinputevent_util.cc',
+ ]
+ }, { # else: OS!=mac
'sources/': [
['exclude', 'mac/[^/]*\\.(cc|mm?)$'],
['exclude', '_mac\\.(cc|mm?)$'],
@@ -98,7 +106,7 @@
'dependencies': [
'../../../breakpad/breakpad.gyp:breakpad_handler',
],
- }, { # OS!=win
+ }, { # else: OS!=win
'sources/': [
['exclude', '_win\\.cc$']
],
@@ -186,7 +194,7 @@
'conditions': [
['OS=="win"', {
'msvs_disabled_warnings': [ 4800 ],
- }, { # OS!=win
+ }, { # else: OS!=win
'sources!': [
'../../../skia/ext/vector_canvas_unittest.cc',
'../webcore_unit_tests/UniscribeHelper_unittest.cpp',