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

Unified Diff: ui/events/platform/BUILD.gn

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ui/events/platform/BUILD.gn
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn
index 76281a0d48892a3c88bae1b93ec036d67b9f6773..b9a977fefaf530c305c5fc412ff08d93874c9c9d 100644
--- a/ui/events/platform/BUILD.gn
+++ b/ui/events/platform/BUILD.gn
@@ -9,12 +9,11 @@ component("platform") {
# Allow this target to include events_export.h without depending on the
# events target (which would be circular).
"../events_export.h",
- "platform_event_builder.cc",
- "platform_event_builder.h",
"platform_event_dispatcher.h",
"platform_event_observer.h",
"platform_event_source.cc",
"platform_event_source.h",
+ "platform_event_source_stub.cc",
"platform_event_types.h",
"scoped_event_dispatcher.cc",
"scoped_event_dispatcher.h",
@@ -24,42 +23,9 @@ component("platform") {
deps = [
"//base",
-
- # TODO(erg): Figure out what to do with this dependency later. Maybe get to
- # the point where we can remove it before we commit this.
- "//ui/events",
]
if (use_x11) {
- configs += [ "//build/config/linux:x11" ]
-
- sources += [
- "x11/device_data_manager_x11.cc",
- "x11/device_data_manager_x11.h",
- "x11/device_list_cache_x.cc",
- "x11/device_list_cache_x.h",
- "x11/hotplug_event_handler_x11.cc",
- "x11/hotplug_event_handler_x11.h",
- "x11/keyboard_code_conversion_x11.cc",
- "x11/keyboard_code_conversion_x11.h",
- "x11/keysym_to_unicode.cc",
- "x11/keysym_to_unicode.h",
- "x11/platform_event_utils_x11.cc",
- "x11/touch_factory_x11.cc",
- "x11/touch_factory_x11.h",
- "x11/x11_event_source.cc",
- "x11/x11_event_source.h",
- "x11/x11_event_source_libevent.cc",
- ]
-
- deps += [
- "//ui/events:dom4_keycode_converter",
- "//ui/gfx/x",
- ]
- } else {
- sources += [
- "platform_event_source_stub.cc",
- "platform_event_stub.cc",
- ]
+ sources -= [ "platform_event_source_stub.cc" ]
}
}
« no previous file with comments | « ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc ('k') | ui/events/platform/platform_event_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698