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

Side by Side Diff: ui/events/BUILD.gn

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 years, 8 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
« no previous file with comments | « ui/display/util/x11/DEPS ('k') | ui/events/DEPS » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 static_library("dom4_keycode_converter") { 8 static_library("dom4_keycode_converter") {
9 sources = [ 9 sources = [
10 "keycodes/dom4/keycode_converter.cc", 10 "keycodes/dom4/keycode_converter.cc",
(...skipping 19 matching lines...) Expand all
30 "gesture_event_details.cc", 30 "gesture_event_details.cc",
31 "gesture_event_details.h", 31 "gesture_event_details.h",
32 "gestures/fling_curve.cc", 32 "gestures/fling_curve.cc",
33 "gestures/fling_curve.h", 33 "gestures/fling_curve.h",
34 "gestures/gesture_configuration.cc", 34 "gestures/gesture_configuration.cc",
35 "gestures/gesture_configuration.h", 35 "gestures/gesture_configuration.h",
36 "keycodes/keyboard_code_conversion.cc", 36 "keycodes/keyboard_code_conversion.cc",
37 "keycodes/keyboard_code_conversion.h", 37 "keycodes/keyboard_code_conversion.h",
38 "keycodes/keyboard_code_conversion_android.cc", 38 "keycodes/keyboard_code_conversion_android.cc",
39 "keycodes/keyboard_code_conversion_android.h", 39 "keycodes/keyboard_code_conversion_android.h",
40 "keycodes/keyboard_code_conversion_mac.h",
41 "keycodes/keyboard_code_conversion_mac.mm",
42 "keycodes/keyboard_codes.h", 40 "keycodes/keyboard_codes.h",
43 "latency_info.cc", 41 "latency_info.cc",
44 "latency_info.h", 42 "latency_info.h",
45 "touchscreen_device.cc", 43 "touchscreen_device.cc",
46 "touchscreen_device.h", 44 "touchscreen_device.h",
47 ] 45 ]
48 46
49 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] 47 defines = [ "EVENTS_BASE_IMPLEMENTATION" ]
50 48
51 deps = [ 49 deps = [
(...skipping 28 matching lines...) Expand all
80 "event_targeter.cc", 78 "event_targeter.cc",
81 "event_targeter.h", 79 "event_targeter.h",
82 "event_utils.cc", 80 "event_utils.cc",
83 "event_utils.h", 81 "event_utils.h",
84 "events_export.h", 82 "events_export.h",
85 "gestures/gesture_provider_impl.cc", 83 "gestures/gesture_provider_impl.cc",
86 "gestures/gesture_provider_impl.h", 84 "gestures/gesture_provider_impl.h",
87 "gestures/gesture_recognizer.h", 85 "gestures/gesture_recognizer.h",
88 "gestures/gesture_recognizer_impl.cc", 86 "gestures/gesture_recognizer_impl.cc",
89 "gestures/gesture_recognizer_impl.h", 87 "gestures/gesture_recognizer_impl.h",
90 "gestures/gesture_recognizer_impl_mac.cc",
91 "gestures/gesture_types.h", 88 "gestures/gesture_types.h",
92 "gestures/motion_event_impl.cc", 89 "gestures/motion_event_impl.cc",
93 "gestures/motion_event_impl.h", 90 "gestures/motion_event_impl.h",
94 ] 91 ]
95 92
96 defines = [ "EVENTS_IMPLEMENTATION" ] 93 defines = [ "EVENTS_IMPLEMENTATION" ]
97 94
98 public_deps = [ 95 public_deps = [
99 ":events_base", 96 ":events_base",
100 ] 97 ]
101 deps = [ 98 deps = [
102 ":dom4_keycode_converter", 99 ":dom4_keycode_converter",
103 ":gesture_detection", 100 ":gesture_detection",
104 "//base/third_party/dynamic_annotations", 101 "//base/third_party/dynamic_annotations",
105 "//skia", 102 "//skia",
106 "//ui/gfx", 103 "//ui/gfx",
107 "//ui/gfx/geometry", 104 "//ui/gfx/geometry",
108 ] 105 ]
109 } 106 }
110 107
111 component("gesture_detection") { 108 component("gesture_detection") {
112 sources = [ 109 sources = [
113 "gesture_detection/bitset_32.h", 110 "gesture_detection/bitset_32.h",
114 "gesture_detection/filtered_gesture_provider.cc", 111 "gesture_detection/filtered_gesture_provider.cc",
115 "gesture_detection/filtered_gesture_provider.h", 112 "gesture_detection/filtered_gesture_provider.h",
116 "gesture_detection/gesture_config_helper.h", 113 "gesture_detection/gesture_config_helper.h",
114 "gesture_detection/gesture_config_helper_aura.cc",
117 "gesture_detection/gesture_detection_export.h", 115 "gesture_detection/gesture_detection_export.h",
118 "gesture_detection/gesture_detector.cc", 116 "gesture_detection/gesture_detector.cc",
119 "gesture_detection/gesture_detector.h", 117 "gesture_detection/gesture_detector.h",
120 "gesture_detection/gesture_event_data.cc", 118 "gesture_detection/gesture_event_data.cc",
121 "gesture_detection/gesture_event_data.h", 119 "gesture_detection/gesture_event_data.h",
122 "gesture_detection/gesture_event_data_packet.cc", 120 "gesture_detection/gesture_event_data_packet.cc",
123 "gesture_detection/gesture_event_data_packet.h", 121 "gesture_detection/gesture_event_data_packet.h",
124 "gesture_detection/gesture_listeners.cc", 122 "gesture_detection/gesture_listeners.cc",
125 "gesture_detection/gesture_listeners.h", 123 "gesture_detection/gesture_listeners.h",
126 "gesture_detection/gesture_provider.cc", 124 "gesture_detection/gesture_provider.cc",
127 "gesture_detection/gesture_provider.h", 125 "gesture_detection/gesture_provider.h",
128 "gesture_detection/gesture_touch_uma_histogram.cc", 126 "gesture_detection/gesture_touch_uma_histogram.cc",
129 "gesture_detection/gesture_touch_uma_histogram.h", 127 "gesture_detection/gesture_touch_uma_histogram.h",
130 "gesture_detection/motion_event.cc", 128 "gesture_detection/motion_event.cc",
131 "gesture_detection/motion_event.h", 129 "gesture_detection/motion_event.h",
132 "gesture_detection/motion_event_buffer.cc", 130 "gesture_detection/motion_event_buffer.cc",
133 "gesture_detection/motion_event_buffer.h", 131 "gesture_detection/motion_event_buffer.h",
134 "gesture_detection/motion_event_generic.cc", 132 "gesture_detection/motion_event_generic.cc",
135 "gesture_detection/motion_event_generic.h", 133 "gesture_detection/motion_event_generic.h",
136 "gesture_detection/scale_gesture_detector.cc", 134 "gesture_detection/scale_gesture_detector.cc",
137 "gesture_detection/scale_gesture_detector.h", 135 "gesture_detection/scale_gesture_detector.h",
138 "gesture_detection/scale_gesture_listeners.cc", 136 "gesture_detection/scale_gesture_listeners.cc",
139 "gesture_detection/scale_gesture_listeners.h", 137 "gesture_detection/scale_gesture_listeners.h",
140 "gesture_detection/snap_scroll_controller.cc", 138 "gesture_detection/snap_scroll_controller.cc",
141 "gesture_detection/snap_scroll_controller.h", 139 "gesture_detection/snap_scroll_controller.h",
142 "gesture_detection/touch_disposition_gesture_filter.cc", 140 "gesture_detection/touch_disposition_gesture_filter.cc",
143 "gesture_detection/touch_disposition_gesture_filter.h", 141 "gesture_detection/touch_disposition_gesture_filter.h",
142 "gesture_detection/velocity_tracker.cc",
143 "gesture_detection/velocity_tracker.h",
144 "gesture_detection/velocity_tracker_state.cc", 144 "gesture_detection/velocity_tracker_state.cc",
145 "gesture_detection/velocity_tracker_state.h", 145 "gesture_detection/velocity_tracker_state.h",
146 "gesture_detection/velocity_tracker.cc",
147 "gesture_detection/velocity_tracker.h",
148 "gesture_detection/gesture_config_helper_aura.cc",
149 ] 146 ]
150 147
151 deps = [ 148 deps = [
152 ":events_base", 149 ":events_base",
153 "//base", 150 "//base",
154 "//ui/gfx", 151 "//ui/gfx",
155 "//ui/gfx/geometry", 152 "//ui/gfx/geometry",
156 ] 153 ]
157 154
158 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] 155 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 "gesture_detection/gesture_event_data_packet_unittest.cc", 202 "gesture_detection/gesture_event_data_packet_unittest.cc",
206 "gesture_detection/gesture_provider_unittest.cc", 203 "gesture_detection/gesture_provider_unittest.cc",
207 "gesture_detection/motion_event_buffer_unittest.cc", 204 "gesture_detection/motion_event_buffer_unittest.cc",
208 "gesture_detection/motion_event_generic_unittest.cc", 205 "gesture_detection/motion_event_generic_unittest.cc",
209 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", 206 "gesture_detection/touch_disposition_gesture_filter_unittest.cc",
210 "gesture_detection/velocity_tracker_unittest.cc", 207 "gesture_detection/velocity_tracker_unittest.cc",
211 "gestures/fling_curve_unittest.cc", 208 "gestures/fling_curve_unittest.cc",
212 "gestures/gesture_provider_impl_unittest.cc", 209 "gestures/gesture_provider_impl_unittest.cc",
213 "keycodes/dom4/keycode_converter_unittest.cc", 210 "keycodes/dom4/keycode_converter_unittest.cc",
214 "latency_info_unittest.cc", 211 "latency_info_unittest.cc",
212 "platform/platform_event_builder_x_unittest.cc",
215 "platform/platform_event_source_unittest.cc", 213 "platform/platform_event_source_unittest.cc",
216 "platform/platform_event_builder_x_unittest.cc",
217 "platform/x11/platform_event_utils_x_unittest.cc", 214 "platform/x11/platform_event_utils_x_unittest.cc",
218 ] 215 ]
219 216
220 deps = [ 217 deps = [
221 ":dom4_keycode_converter", 218 ":dom4_keycode_converter",
222 ":events", 219 ":events",
223 ":events_base", 220 ":events_base",
224 ":gesture_detection", 221 ":gesture_detection",
225 ":test_support", 222 ":test_support",
226 "//base", 223 "//base",
227 "//base/test:run_all_unittests", 224 "//base/test:run_all_unittests",
228 "//skia", 225 "//skia",
229 "//testing/gtest", 226 "//testing/gtest",
230 "//ui/events/platform", 227 "//ui/events/platform",
231 "//ui/gfx:test_support", 228 "//ui/gfx:test_support",
232 ] 229 ]
233 230
234 if (use_x11) { 231 if (use_x11) {
235 configs += [ "//build/config/linux:x11" ] 232 configs += [ "//build/config/linux:x11" ]
236 deps += [ "//ui/gfx/x" ] 233 deps += [ "//ui/gfx/x" ]
237 } else { 234 } else {
238 sources -= [ 235 sources -= [
239 "platform/platform_event_builder_x_unittest.cc", 236 "platform/platform_event_builder_x_unittest.cc",
240 "platform/x11/platform_event_utils_x_unittest.cc", 237 "platform/x11/platform_event_utils_x_unittest.cc",
241 ] 238 ]
242 } 239 }
243 } 240 }
OLDNEW
« no previous file with comments | « ui/display/util/x11/DEPS ('k') | ui/events/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698