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

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

Issue 685793002: Move all event related devices from ui/events/ to ui/events/devices/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internal-touchscreens
Patch Set: Rebased Created 6 years, 1 month 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 component("x11") { 5 component("x11") {
6 output_name = "x11_events_platform" 6 output_name = "x11_events_platform"
7 7
8 sources = [ 8 sources = [
9 "x11_event_source.cc", 9 "x11_event_source.cc",
10 "x11_event_source.h", 10 "x11_event_source.h",
11 "x11_event_source_glib.cc", 11 "x11_event_source_glib.cc",
12 "x11_event_source_libevent.cc", 12 "x11_event_source_libevent.cc",
13 "x11_hotplug_event_handler.cc",
14 "x11_hotplug_event_handler.h",
13 ] 15 ]
14 16
15 defines = [ "EVENTS_IMPLEMENTATION" ] 17 defines = [ "EVENTS_IMPLEMENTATION" ]
16 18
17 configs += [ "//build/config/linux:x11" ] 19 configs += [ "//build/config/linux:x11" ]
18 20
19 public_deps = [ 21 public_deps = [
20 "//ui/events", 22 "//ui/events",
23 "//ui/events/devices",
msw 2014/11/03 21:05:10 nit: reorder after "//ui/events:events_base" (like
dnicoara 2014/11/03 21:13:01 Done.
21 "//ui/events:events_base", 24 "//ui/events:events_base",
22 "//ui/events/platform", 25 "//ui/events/platform",
23 "//ui/gfx/x", 26 "//ui/gfx/x",
24 ] 27 ]
25 28
26 if (is_linux) { 29 if (is_linux) {
27 sources -= [ "x11_event_source_libevent.cc" ] 30 sources -= [ "x11_event_source_libevent.cc" ]
28 31
29 configs += [ "//build/config/linux:glib" ] 32 configs += [ "//build/config/linux:glib" ]
30 } else { 33 } else {
31 sources -= [ "x11_event_source_glib.cc" ] 34 sources -= [ "x11_event_source_glib.cc" ]
32 } 35 }
33 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698