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

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

Issue 289283015: Extract touchscreen device management into a generic manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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/events/events.gyp ('k') | ui/events/platform/x11/x11_event_source.cc » ('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 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 ] 13 ]
14 14
15 defines = [ 15 defines = [
16 "EVENTS_IMPLEMENTATION", 16 "EVENTS_IMPLEMENTATION",
17 ] 17 ]
18 18
19 configs += [ 19 configs += [
20 "//build/config/linux:x11", 20 "//build/config/linux:x11",
21 ] 21 ]
22 22
23 deps = [ 23 deps = [
24 "//ui/events", 24 "//ui/events",
25 "//ui/events:events_base",
25 "//ui/events/platform", 26 "//ui/events/platform",
26 "//ui/gfx/x", 27 "//ui/gfx/x",
27 ] 28 ]
28 29
29 if (is_linux) { 30 if (is_linux) {
30 sources -= [ 31 sources -= [
31 "x11_event_source_libevent.cc", 32 "x11_event_source_libevent.cc",
32 ] 33 ]
33 34
34 configs += [ 35 configs += [
35 "//build/config/linux:glib", 36 "//build/config/linux:glib",
36 ] 37 ]
37 } else { 38 } else {
38 sources -= [ 39 sources -= [
39 "x11_event_source_glib.cc", 40 "x11_event_source_glib.cc",
40 ] 41 ]
41 } 42 }
42 } 43 }
OLDNEW
« no previous file with comments | « ui/events/events.gyp ('k') | ui/events/platform/x11/x11_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698