Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: webkit/tools/test_shell/test_shell.gyp

Issue 27332: Fixing WebKeyboardEvent. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/tools/test_shell/mac/webwidget_host.mm ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.gyp
===================================================================
--- webkit/tools/test_shell/test_shell.gyp (revision 10793)
+++ webkit/tools/test_shell/test_shell.gyp (working copy)
@@ -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',
« no previous file with comments | « webkit/tools/test_shell/mac/webwidget_host.mm ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698