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

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

Issue 773283006: Run gn format on all BUILD.gn files (gn version 306668) (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
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",
11 "keycodes/dom4/keycode_converter_data.h", 11 "keycodes/dom4/keycode_converter_data.h",
12 ] 12 ]
13 13
14 deps = [ "//base" ] 14 deps = [
15 "//base",
16 ]
15 } 17 }
16 18
17 component("events_base") { 19 component("events_base") {
18 sources = [ 20 sources = [
19 "android/scroller.cc", 21 "android/scroller.cc",
20 "android/scroller.h", 22 "android/scroller.h",
21 "device_data_manager.cc", 23 "device_data_manager.cc",
22 "device_data_manager.h", 24 "device_data_manager.h",
23 "device_hotplug_event_observer.h", 25 "device_hotplug_event_observer.h",
24 "event_constants.h", 26 "event_constants.h",
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 if (!is_chromeos && is_linux) { 142 if (!is_chromeos && is_linux) {
141 sources += [ 143 sources += [
142 "linux/text_edit_command_auralinux.cc", 144 "linux/text_edit_command_auralinux.cc",
143 "linux/text_edit_command_auralinux.h", 145 "linux/text_edit_command_auralinux.h",
144 "linux/text_edit_key_bindings_delegate_auralinux.cc", 146 "linux/text_edit_key_bindings_delegate_auralinux.cc",
145 "linux/text_edit_key_bindings_delegate_auralinux.h", 147 "linux/text_edit_key_bindings_delegate_auralinux.h",
146 ] 148 ]
147 } 149 }
148 150
149 if (use_ozone) { 151 if (use_ozone) {
150 sources += [ 152 sources += [ "ozone/events_ozone.cc" ]
151 "ozone/events_ozone.cc",
152 ]
153 } 153 }
154 154
155 if (use_aura) { 155 if (use_aura) {
156 sources += [ 156 sources += [
157 "gestures/gesture_provider_aura.cc", 157 "gestures/gesture_provider_aura.cc",
158 "gestures/gesture_provider_aura.h", 158 "gestures/gesture_provider_aura.h",
159 "gestures/motion_event_aura.cc", 159 "gestures/motion_event_aura.cc",
160 "gestures/motion_event_aura.h", 160 "gestures/motion_event_aura.h",
161 "gestures/gesture_recognizer.h", 161 "gestures/gesture_recognizer.h",
162 "gestures/gesture_recognizer_impl.cc", 162 "gestures/gesture_recognizer_impl.cc",
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 "//skia", 307 "//skia",
308 "//testing/gtest", 308 "//testing/gtest",
309 "//ui/events/platform", 309 "//ui/events/platform",
310 "//ui/gfx:test_support", 310 "//ui/gfx:test_support",
311 ] 311 ]
312 312
313 if (use_x11) { 313 if (use_x11) {
314 configs += [ "//build/config/linux:x11" ] 314 configs += [ "//build/config/linux:x11" ]
315 deps += [ "//ui/gfx/x" ] 315 deps += [ "//ui/gfx/x" ]
316 } else { 316 } else {
317 sources -= [ 317 sources -= [ "x/events_x_unittest.cc" ]
318 "x/events_x_unittest.cc",
319 ]
320 } 318 }
321 319
322 if (use_ozone) { 320 if (use_ozone) {
323 sources += [ 321 sources += [
324 "ozone/evdev/key_event_converter_evdev_unittest.cc", 322 "ozone/evdev/key_event_converter_evdev_unittest.cc",
325 "ozone/evdev/touch_event_converter_evdev_unittest.cc", 323 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
326 ] 324 ]
327 } 325 }
328 326
329 if (use_aura) { 327 if (use_aura) {
330 sources += [ 328 sources += [ "gestures/gesture_provider_aura_unittest.cc" ]
331 "gestures/gesture_provider_aura_unittest.cc",
332 ]
333 } 329 }
334 } 330 }
OLDNEW
« benchmarks/startup/BUILD.gn ('K') | « ui/display/BUILD.gn ('k') | ui/events/ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698