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

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

Issue 862093002: Split the event library into a cross-platform and native part. Part 1. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT 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/events/ipc/latency_info_param_traits.cc ('k') | ui/events/platform/platform_event_builder.h » ('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).
11 "../events_export.h", 11 "../events_export.h",
12 "platform_event_builder.cc",
13 "platform_event_builder.h",
12 "platform_event_dispatcher.h", 14 "platform_event_dispatcher.h",
13 "platform_event_observer.h", 15 "platform_event_observer.h",
14 "platform_event_source.cc", 16 "platform_event_source.cc",
15 "platform_event_source.h", 17 "platform_event_source.h",
16 "platform_event_source_stub.cc", 18 "platform_event_source_stub.cc",
17 "platform_event_types.h", 19 "platform_event_types.h",
18 "scoped_event_dispatcher.cc", 20 "scoped_event_dispatcher.cc",
19 "scoped_event_dispatcher.h", 21 "scoped_event_dispatcher.h",
20 ] 22 ]
21 23
22 defines = [ "EVENTS_IMPLEMENTATION" ] 24 defines = [ "EVENTS_IMPLEMENTATION" ]
23 25
24 deps = [ 26 deps = [
25 "//base", 27 "//base",
28
29 # TODO(erg): Figure out what to do with this dependency later. Maybe get to
30 # the point where we can remove it before we commit this.
31 "//ui/events",
26 ] 32 ]
27 33
28 if (use_x11) { 34 if (use_x11) {
29 sources -= [ "platform_event_source_stub.cc" ] 35 sources -= [ "platform_event_source_stub.cc" ]
30 } 36 }
31 } 37 }
OLDNEW
« no previous file with comments | « ui/events/ipc/latency_info_param_traits.cc ('k') | ui/events/platform/platform_event_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698