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

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

Issue 1442523002: Get rid of the use_glib gn variable. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« base/BUILD.gn ('K') | « ui/events/BUILD.gn ('k') | no next file » | 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",
viettrungluu 2015/11/12 02:35:41 Note: This file doesn't actually currently exist.
12 "x11_event_source_libevent.cc", 11 "x11_event_source_libevent.cc",
13 "x11_hotplug_event_handler.cc", 12 "x11_hotplug_event_handler.cc",
14 "x11_hotplug_event_handler.h", 13 "x11_hotplug_event_handler.h",
15 ] 14 ]
16 15
17 defines = [ "EVENTS_IMPLEMENTATION" ] 16 defines = [ "EVENTS_IMPLEMENTATION" ]
18 17
19 configs += [ "//build/config/linux:x11" ] 18 configs += [ "//build/config/linux:x11" ]
20 19
21 public_deps = [ 20 public_deps = [
22 "//ui/events", 21 "//ui/events",
23 "//ui/events:events_base", 22 "//ui/events:events_base",
24 "//ui/events/devices", 23 "//ui/events/devices",
25 "//ui/events/platform", 24 "//ui/events/platform",
26 "//ui/gfx/x", 25 "//ui/gfx/x",
27 ] 26 ]
28 27
29 deps = [ 28 deps = [
30 "//base", 29 "//base",
31 ] 30 ]
32
33 if (use_glib) {
34 sources -= [ "x11_event_source_libevent.cc" ]
35
36 configs += [ "//build/config/linux:glib" ]
37 } else {
38 sources -= [ "x11_event_source_glib.cc" ]
39 }
40 } 31 }
OLDNEW
« base/BUILD.gn ('K') | « ui/events/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698