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

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

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup leftover stuff 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
« no previous file with comments | « ui/events/platform/BUILD.gn ('k') | ui/events/platform/x11/x11_event_source.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")
6
5 component("x11") { 7 component("x11") {
6 output_name = "x11_events_platform" 8 output_name = "x11_events_platform"
7 9
8 sources = [ 10 sources = [
9 "x11_event_source.cc", 11 "x11_event_source.cc",
10 "x11_event_source.h", 12 "x11_event_source.h",
11 "x11_event_source_glib.cc", 13 "x11_event_source_glib.cc",
12 "x11_event_source_libevent.cc", 14 "x11_event_source_libevent.cc",
13 "x11_hotplug_event_handler.cc", 15 "x11_hotplug_event_handler.cc",
14 "x11_hotplug_event_handler.h", 16 "x11_hotplug_event_handler.h",
15 ] 17 ]
16 18
17 defines = [ "EVENTS_IMPLEMENTATION" ] 19 defines = [ "EVENTS_IMPLEMENTATION" ]
18 20
19 configs += [ "//build/config/linux:x11" ] 21 configs += [ "//build/config/linux:x11" ]
20 22
21 public_deps = [ 23 public_deps = [
22 "//ui/events", 24 "//ui/events",
23 "//ui/events:events_base", 25 "//ui/events:events_base",
24 "//ui/events/devices", 26 "//ui/events/devices",
25 "//ui/events/platform", 27 "//ui/events/platform",
26 "//ui/gfx/x", 28 "//ui/gfx/x",
27 ] 29 ]
28 30
29 if (is_linux) { 31 if (is_linux && !use_ozone_x11) {
30 sources -= [ "x11_event_source_libevent.cc" ] 32 sources -= [ "x11_event_source_libevent.cc" ]
31 33
32 configs += [ "//build/config/linux:glib" ] 34 configs += [ "//build/config/linux:glib" ]
33 } else { 35 } else {
34 sources -= [ "x11_event_source_glib.cc" ] 36 sources -= [ "x11_event_source_glib.cc" ]
35 } 37 }
36 } 38 }
OLDNEW
« no previous file with comments | « ui/events/platform/BUILD.gn ('k') | ui/events/platform/x11/x11_event_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698