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

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

Issue 1908473002: Split //ui/events/devices into two targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More deps on new target. Created 4 years, 8 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
« no previous file with comments | « ui/events/events_unittests.gyp ('k') | ui/events/platform/x11/x11_events_platform.gyp » ('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") 5 import("//build/config/ui.gni")
6 import("//ui/ozone/ozone.gni") 6 import("//ui/ozone/ozone.gni")
7 7
8 assert(use_x11 || ozone_platform_x11) 8 assert(use_x11 || ozone_platform_x11)
9 9
10 component("x11") { 10 component("x11") {
11 output_name = "x11_events_platform" 11 output_name = "x11_events_platform"
12 12
13 sources = [ 13 sources = [
14 "x11_event_source.cc", 14 "x11_event_source.cc",
15 "x11_event_source.h", 15 "x11_event_source.h",
16 "x11_hotplug_event_handler.cc", 16 "x11_hotplug_event_handler.cc",
17 "x11_hotplug_event_handler.h", 17 "x11_hotplug_event_handler.h",
18 ] 18 ]
19 19
20 defines = [ "EVENTS_IMPLEMENTATION" ] 20 defines = [ "EVENTS_IMPLEMENTATION" ]
21 21
22 configs += [ "//build/config/linux:x11" ] 22 configs += [ "//build/config/linux:x11" ]
23 23
24 public_deps = [ 24 public_deps = [
25 "//ui/events", 25 "//ui/events",
26 "//ui/events:events_base", 26 "//ui/events:events_base",
27 "//ui/events/devices", 27 "//ui/events/devices",
28 "//ui/events/devices/x11",
28 "//ui/events/platform", 29 "//ui/events/platform",
29 "//ui/events/x", 30 "//ui/events/x",
30 "//ui/gfx/x", 31 "//ui/gfx/x",
31 ] 32 ]
32 33
33 deps = [ 34 deps = [
34 "//base", 35 "//base",
35 ] 36 ]
36 37
37 if (use_glib) { 38 if (use_glib) {
38 sources += [ 39 sources += [
39 "x11_event_source_glib.cc", 40 "x11_event_source_glib.cc",
40 "x11_event_source_glib.h", 41 "x11_event_source_glib.h",
41 ] 42 ]
42 43
43 configs += [ "//build/config/linux:glib" ] 44 configs += [ "//build/config/linux:glib" ]
44 } else { 45 } else {
45 sources += [ 46 sources += [
46 "x11_event_source_libevent.cc", 47 "x11_event_source_libevent.cc",
47 "x11_event_source_libevent.h", 48 "x11_event_source_libevent.h",
48 ] 49 ]
49 } 50 }
50 } 51 }
OLDNEW
« no previous file with comments | « ui/events/events_unittests.gyp ('k') | ui/events/platform/x11/x11_events_platform.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698