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

Side by Side Diff: ui/events/events.gyp

Issue 284743009: events: Create a separate platforms target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/events/ozone/events_ozone.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 'gestures/gesture_point.h', 113 'gestures/gesture_point.h',
114 'gestures/gesture_recognizer.h', 114 'gestures/gesture_recognizer.h',
115 'gestures/gesture_recognizer_impl.cc', 115 'gestures/gesture_recognizer_impl.cc',
116 'gestures/gesture_recognizer_impl.h', 116 'gestures/gesture_recognizer_impl.h',
117 'gestures/gesture_sequence.cc', 117 'gestures/gesture_sequence.cc',
118 'gestures/gesture_sequence.h', 118 'gestures/gesture_sequence.h',
119 'gestures/gesture_types.h', 119 'gestures/gesture_types.h',
120 'gestures/velocity_calculator.cc', 120 'gestures/velocity_calculator.cc',
121 'gestures/velocity_calculator.h', 121 'gestures/velocity_calculator.h',
122 'ozone/events_ozone.cc', 122 'ozone/events_ozone.cc',
123 'platform/platform_event_dispatcher.h',
124 'platform/platform_event_observer.h',
125 'platform/platform_event_source.cc',
126 'platform/platform_event_source.h',
127 'platform/platform_event_source_stub.cc',
128 'platform/platform_event_types.h',
129 'platform/scoped_event_dispatcher.cc',
130 'platform/scoped_event_dispatcher.h',
131 'platform/x11/x11_event_source.cc',
132 'platform/x11/x11_event_source.h',
133 'platform/x11/x11_event_source_glib.cc',
134 'platform/x11/x11_event_source_libevent.cc',
135 'win/events_win.cc', 123 'win/events_win.cc',
136 'x/events_x.cc', 124 'x/events_x.cc',
137 'linux/text_edit_command_auralinux.cc', 125 'linux/text_edit_command_auralinux.cc',
138 'linux/text_edit_command_auralinux.h', 126 'linux/text_edit_command_auralinux.h',
139 'linux/text_edit_key_bindings_delegate_auralinux.cc', 127 'linux/text_edit_key_bindings_delegate_auralinux.cc',
140 'linux/text_edit_key_bindings_delegate_auralinux.h', 128 'linux/text_edit_key_bindings_delegate_auralinux.h',
141 ], 129 ],
142 'conditions': [ 130 'conditions': [
143 # We explicitly enumerate the platforms we _do_ provide native cracking 131 # We explicitly enumerate the platforms we _do_ provide native cracking
144 # for here. 132 # for here.
145 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', { 133 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', {
146 'sources!': [ 134 'sources!': [
147 'events_stub.cc', 135 'events_stub.cc',
148 ], 136 ],
149 }], 137 }],
150 ['chromeos==1', { 138 ['chromeos==1', {
151 'sources!': [ 139 'sources!': [
152 'linux/text_edit_command_auralinux.cc', 140 'linux/text_edit_command_auralinux.cc',
153 'linux/text_edit_command_auralinux.h', 141 'linux/text_edit_command_auralinux.h',
154 'linux/text_edit_key_bindings_delegate_auralinux.cc', 142 'linux/text_edit_key_bindings_delegate_auralinux.cc',
155 'linux/text_edit_key_bindings_delegate_auralinux.h', 143 'linux/text_edit_key_bindings_delegate_auralinux.h',
156 ], 144 ],
157 }], 145 }],
158 ['use_x11==1', {
159 'sources!': [
160 'platform/platform_event_source_stub.cc',
161 ],
162 'dependencies': [
163 '../../build/linux/system.gyp:x11',
164 '../gfx/x/gfx_x11.gyp:gfx_x11',
165 ],
166 }],
167 ['use_glib==1', {
168 'dependencies': [
169 '../../build/linux/system.gyp:glib',
170 ],
171 'sources!': [
172 'platform/x11/x11_event_source_libevent.cc',
173 ],
174 }, {
175 # use_glib == 0
176 'sources!': [
177 'platform/x11/x11_event_source_glib.cc',
178 ],
179 }],
180 ], 146 ],
181 }, 147 },
182 { 148 {
183 'target_name': 'gesture_detection', 149 'target_name': 'gesture_detection',
184 'type': '<(component)', 150 'type': '<(component)',
185 'dependencies': [ 151 'dependencies': [
186 '<(DEPTH)/base/base.gyp:base', 152 '<(DEPTH)/base/base.gyp:base',
187 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 153 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
188 '../gfx/gfx.gyp:gfx', 154 '../gfx/gfx.gyp:gfx',
189 '../gfx/gfx.gyp:gfx_geometry', 155 '../gfx/gfx.gyp:gfx_geometry',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 }], 199 }],
234 ], 200 ],
235 }, 201 },
236 { 202 {
237 'target_name': 'events_test_support', 203 'target_name': 'events_test_support',
238 'type': 'static_library', 204 'type': 'static_library',
239 'dependencies': [ 205 'dependencies': [
240 '<(DEPTH)/skia/skia.gyp:skia', 206 '<(DEPTH)/skia/skia.gyp:skia',
241 'events', 207 'events',
242 'events_base', 208 'events_base',
209 'platform/events_platform.gyp:events_platform',
243 ], 210 ],
244 'sources': [ 211 'sources': [
245 'test/cocoa_test_event_utils.h', 212 'test/cocoa_test_event_utils.h',
246 'test/cocoa_test_event_utils.mm', 213 'test/cocoa_test_event_utils.mm',
247 'test/events_test_utils.cc', 214 'test/events_test_utils.cc',
248 'test/events_test_utils.h', 215 'test/events_test_utils.h',
249 'test/events_test_utils_x11.cc', 216 'test/events_test_utils_x11.cc',
250 'test/events_test_utils_x11.h', 217 'test/events_test_utils_x11.h',
251 'test/platform_event_waiter.cc', 218 'test/platform_event_waiter.cc',
252 'test/platform_event_waiter.h', 219 'test/platform_event_waiter.h',
(...skipping 25 matching lines...) Expand all
278 '<(DEPTH)/base/base.gyp:run_all_unittests', 245 '<(DEPTH)/base/base.gyp:run_all_unittests',
279 '<(DEPTH)/base/base.gyp:test_support_base', 246 '<(DEPTH)/base/base.gyp:test_support_base',
280 '<(DEPTH)/skia/skia.gyp:skia', 247 '<(DEPTH)/skia/skia.gyp:skia',
281 '<(DEPTH)/testing/gtest.gyp:gtest', 248 '<(DEPTH)/testing/gtest.gyp:gtest',
282 '../gfx/gfx.gyp:gfx_geometry', 249 '../gfx/gfx.gyp:gfx_geometry',
283 '../gfx/gfx.gyp:gfx_test_support', 250 '../gfx/gfx.gyp:gfx_test_support',
284 'dom4_keycode_converter', 251 'dom4_keycode_converter',
285 'events', 252 'events',
286 'events_base', 253 'events_base',
287 'events_test_support', 254 'events_test_support',
288 'gesture_detection' 255 'gesture_detection',
256 'platform/events_platform.gyp:events_platform',
289 ], 257 ],
290 'sources': [ 258 'sources': [
291 'cocoa/events_mac_unittest.mm', 259 'cocoa/events_mac_unittest.mm',
292 'event_dispatcher_unittest.cc', 260 'event_dispatcher_unittest.cc',
293 'event_processor_unittest.cc', 261 'event_processor_unittest.cc',
294 'event_rewriter_unittest.cc', 262 'event_rewriter_unittest.cc',
295 'event_unittest.cc', 263 'event_unittest.cc',
296 'gestures/velocity_calculator_unittest.cc', 264 'gestures/velocity_calculator_unittest.cc',
297 'gesture_detection/bitset_32_unittest.cc', 265 'gesture_detection/bitset_32_unittest.cc',
298 'gesture_detection/gesture_provider_unittest.cc', 266 'gesture_detection/gesture_provider_unittest.cc',
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 ], 318 ],
351 'variables': { 319 'variables': {
352 'test_suite_name': 'events_unittests', 320 'test_suite_name': 'events_unittests',
353 }, 321 },
354 'includes': [ '../../build/apk_test.gypi' ], 322 'includes': [ '../../build/apk_test.gypi' ],
355 }, 323 },
356 ], 324 ],
357 }], 325 }],
358 ], 326 ],
359 } 327 }
OLDNEW
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/events/ozone/events_ozone.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698