OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../../build/common.gypi', | 10 '../../../build/common.gypi', |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 'webwidget_host_win.cc', | 75 'webwidget_host_win.cc', |
76 ], | 76 ], |
77 'export_dependent_settings': [ | 77 'export_dependent_settings': [ |
78 '../../../base/base.gyp:base', | 78 '../../../base/base.gyp:base', |
79 '../../../net/net.gyp:net', | 79 '../../../net/net.gyp:net', |
80 '../../webkit.gyp:glue', | 80 '../../webkit.gyp:glue', |
81 '../../webkit.gyp:webkit', | 81 '../../webkit.gyp:webkit', |
82 ], | 82 ], |
83 'conditions': [ | 83 'conditions': [ |
84 ['OS!="linux"', {'sources/': [['exclude', '_gtk\\.cc$']]}], | 84 ['OS!="linux"', {'sources/': [['exclude', '_gtk\\.cc$']]}], |
85 ['OS!="mac"', { | 85 ['OS=="mac"', { |
| 86 'sources': [ |
| 87 # Windows/Linux use this code normally when constructing events, so |
| 88 # in test_shell they get it from glue. The Mac has its own code for |
| 89 # accomplishing it, so in test_shell, where events are constructed |
| 90 # from scratch, we need to pull this in. |
| 91 '../../glue/webinputevent_util.cc', |
| 92 ] |
| 93 }, { # else: OS!=mac |
86 'sources/': [ | 94 'sources/': [ |
87 ['exclude', 'mac/[^/]*\\.(cc|mm?)$'], | 95 ['exclude', 'mac/[^/]*\\.(cc|mm?)$'], |
88 ['exclude', '_mac\\.(cc|mm?)$'], | 96 ['exclude', '_mac\\.(cc|mm?)$'], |
89 ] | 97 ] |
90 }], | 98 }], |
91 ['OS=="win"', { | 99 ['OS=="win"', { |
92 'msvs_disabled_warnings': [ 4800 ], | 100 'msvs_disabled_warnings': [ 4800 ], |
93 'link_settings': { | 101 'link_settings': { |
94 'libraries': [ | 102 'libraries': [ |
95 '-lcomctl32.lib', | 103 '-lcomctl32.lib', |
96 ], | 104 ], |
97 }, | 105 }, |
98 'dependencies': [ | 106 'dependencies': [ |
99 '../../../breakpad/breakpad.gyp:breakpad_handler', | 107 '../../../breakpad/breakpad.gyp:breakpad_handler', |
100 ], | 108 ], |
101 }, { # OS!=win | 109 }, { # else: OS!=win |
102 'sources/': [ | 110 'sources/': [ |
103 ['exclude', '_win\\.cc$'] | 111 ['exclude', '_win\\.cc$'] |
104 ], | 112 ], |
105 'sources!': [ | 113 'sources!': [ |
106 'drag_delegate.cc', | 114 'drag_delegate.cc', |
107 'drop_delegate.cc', | 115 'drop_delegate.cc', |
108 ], | 116 ], |
109 }], | 117 }], |
110 ], | 118 ], |
111 }, | 119 }, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'node_leak_test.cc', | 187 'node_leak_test.cc', |
180 'plugin_tests.cc', | 188 'plugin_tests.cc', |
181 'run_all_tests.cc', | 189 'run_all_tests.cc', |
182 'test_shell_test.cc', | 190 'test_shell_test.cc', |
183 'test_shell_test.h', | 191 'test_shell_test.h', |
184 'text_input_controller_unittest.cc', | 192 'text_input_controller_unittest.cc', |
185 ], | 193 ], |
186 'conditions': [ | 194 'conditions': [ |
187 ['OS=="win"', { | 195 ['OS=="win"', { |
188 'msvs_disabled_warnings': [ 4800 ], | 196 'msvs_disabled_warnings': [ 4800 ], |
189 }, { # OS!=win | 197 }, { # else: OS!=win |
190 'sources!': [ | 198 'sources!': [ |
191 '../../../skia/ext/vector_canvas_unittest.cc', | 199 '../../../skia/ext/vector_canvas_unittest.cc', |
192 '../webcore_unit_tests/UniscribeHelper_unittest.cpp', | 200 '../webcore_unit_tests/UniscribeHelper_unittest.cpp', |
193 'plugin_tests.cc' | 201 'plugin_tests.cc' |
194 ], | 202 ], |
195 }], | 203 }], |
196 ], | 204 ], |
197 }, | 205 }, |
198 ], | 206 ], |
199 } | 207 } |
OLD | NEW |