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

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

Issue 853133002: Remove glib from the mojo build. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Now updated after two rolls. Created 5 years, 11 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
« ui/base/BUILD.gn ('K') | « ui/base/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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 component("platform") { 7 component("platform") {
8 sources = [ 8 sources = [
9 # Allow this target to include events_export.h without depending on the 9 # Allow this target to include events_export.h without depending on the
10 # events target (which would be circular). 10 # events target (which would be circular).
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 "x11/keysym_to_unicode.h", 46 "x11/keysym_to_unicode.h",
47 "x11/platform_event_utils_x11.cc", 47 "x11/platform_event_utils_x11.cc",
48 "x11/touch_factory_x11.cc", 48 "x11/touch_factory_x11.cc",
49 "x11/touch_factory_x11.h", 49 "x11/touch_factory_x11.h",
50 "x11/x11_event_source.cc", 50 "x11/x11_event_source.cc",
51 "x11/x11_event_source.h", 51 "x11/x11_event_source.h",
52 "x11/x11_event_source_glib.cc", 52 "x11/x11_event_source_glib.cc",
53 "x11/x11_event_source_libevent.cc", 53 "x11/x11_event_source_libevent.cc",
54 ] 54 ]
55 55
56 if (is_linux) { 56 if (use_glib) {
jamesr 2015/01/22 23:12:05 ditto
57 sources -= [ "x11/x11_event_source_libevent.cc" ] 57 sources -= [ "x11/x11_event_source_libevent.cc" ]
58
59 configs += [ "//build/config/linux:glib" ] 58 configs += [ "//build/config/linux:glib" ]
60 } else { 59 } else {
61 sources -= [ "x11/x11_event_source_glib.cc" ] 60 sources -= [ "x11/x11_event_source_glib.cc" ]
62 } 61 }
63 62
64 deps += [ "//ui/gfx/x" ] 63 deps += [ "//ui/gfx/x" ]
65 } else { 64 } else {
66 sources += [ 65 sources += [
67 "platform_event_source_stub.cc", 66 "platform_event_source_stub.cc",
68 "platform_event_stub.cc", 67 "platform_event_stub.cc",
69 ] 68 ]
70 } 69 }
71 } 70 }
OLDNEW
« ui/base/BUILD.gn ('K') | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698