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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/display.gyp ('k') | ui/events/linux/text_edit_command_auralinux.h » ('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 6
7 static_library("dom4_keycode_converter") { 7 static_library("dom4_keycode_converter") {
8 sources = [ 8 sources = [
9 "keycodes/dom4/keycode_converter.cc", 9 "keycodes/dom4/keycode_converter.cc",
10 "keycodes/dom4/keycode_converter.h", 10 "keycodes/dom4/keycode_converter.h",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 if (use_x11) { 140 if (use_x11) {
141 sources += [ "x/events_x.cc" ] 141 sources += [ "x/events_x.cc" ]
142 configs += [ 142 configs += [
143 "//build/config/linux:glib", 143 "//build/config/linux:glib",
144 "//build/config/linux:x11", 144 "//build/config/linux:x11",
145 ] 145 ]
146 deps += [ "//ui/gfx/x" ] 146 deps += [ "//ui/gfx/x" ]
147 } 147 }
148 148
149 if (!is_chromeos && is_linux) { 149 if (is_win || is_mac || use_x11) {
150 sources += [
151 "linux/text_edit_command_auralinux.cc",
152 "linux/text_edit_command_auralinux.h",
153 "linux/text_edit_key_bindings_delegate_auralinux.cc",
154 "linux/text_edit_key_bindings_delegate_auralinux.h",
155 ]
156 }
157
158 if (use_ozone) {
159 sources += [ "ozone/events_ozone.cc" ]
160 }
161
162 if (is_win || is_mac || use_x11 || use_ozone) {
163 sources -= [ "events_stub.cc" ] 150 sources -= [ "events_stub.cc" ]
164 } 151 }
165 } 152 }
166 153
167 component("gesture_detection") { 154 component("gesture_detection") {
168 sources = [ 155 sources = [
169 "gesture_detection/bitset_32.h", 156 "gesture_detection/bitset_32.h",
170 "gesture_detection/filtered_gesture_provider.cc", 157 "gesture_detection/filtered_gesture_provider.cc",
171 "gesture_detection/filtered_gesture_provider.h", 158 "gesture_detection/filtered_gesture_provider.h",
172 "gesture_detection/gesture_config_helper.h", 159 "gesture_detection/gesture_config_helper.h",
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "//ui/gfx:test_support", 285 "//ui/gfx:test_support",
299 ] 286 ]
300 287
301 if (use_x11) { 288 if (use_x11) {
302 configs += [ "//build/config/linux:x11" ] 289 configs += [ "//build/config/linux:x11" ]
303 deps += [ "//ui/gfx/x" ] 290 deps += [ "//ui/gfx/x" ]
304 } else { 291 } else {
305 sources -= [ "x/events_x_unittest.cc" ] 292 sources -= [ "x/events_x_unittest.cc" ]
306 } 293 }
307 294
308 if (use_ozone) {
309 sources += [
310 "ozone/evdev/key_event_converter_evdev_unittest.cc",
311 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
312 ]
313 }
314
315 if (use_aura) { 295 if (use_aura) {
316 sources += [ "gestures/gesture_provider_impl_unittest.cc" ] 296 sources += [ "gestures/gesture_provider_impl_unittest.cc" ]
317 } 297 }
318 } 298 }
OLDNEW
« no previous file with comments | « ui/display/display.gyp ('k') | ui/events/linux/text_edit_command_auralinux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698