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

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: Also use_glib=false on Chromeos 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
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/events/platform/x11/x11_event_source_glib.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 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "x11/hotplug_event_handler_x11.h", 42 "x11/hotplug_event_handler_x11.h",
43 "x11/keyboard_code_conversion_x11.cc", 43 "x11/keyboard_code_conversion_x11.cc",
44 "x11/keyboard_code_conversion_x11.h", 44 "x11/keyboard_code_conversion_x11.h",
45 "x11/keysym_to_unicode.cc", 45 "x11/keysym_to_unicode.cc",
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",
53 "x11/x11_event_source_libevent.cc", 52 "x11/x11_event_source_libevent.cc",
54 ] 53 ]
55 54
56 if (is_linux) {
57 sources -= [ "x11/x11_event_source_libevent.cc" ]
58
59 configs += [ "//build/config/linux:glib" ]
60 } else {
61 sources -= [ "x11/x11_event_source_glib.cc" ]
62 }
63
64 deps += [ "//ui/gfx/x" ] 55 deps += [ "//ui/gfx/x" ]
65 } else { 56 } else {
66 sources += [ 57 sources += [
67 "platform_event_source_stub.cc", 58 "platform_event_source_stub.cc",
68 "platform_event_stub.cc", 59 "platform_event_stub.cc",
69 ] 60 ]
70 } 61 }
71 } 62 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/events/platform/x11/x11_event_source_glib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698