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

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

Issue 513313002: Fix most of the "gn check" errors in ui/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android GN build Created 6 years, 3 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
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
10 # events target (which would be circular).
11 "../events_export.h",
9 "platform_event_dispatcher.h", 12 "platform_event_dispatcher.h",
10 "platform_event_observer.h", 13 "platform_event_observer.h",
11 "platform_event_source.cc", 14 "platform_event_source.cc",
12 "platform_event_source.h", 15 "platform_event_source.h",
13 "platform_event_source_stub.cc", 16 "platform_event_source_stub.cc",
14 "platform_event_types.h", 17 "platform_event_types.h",
15 "scoped_event_dispatcher.cc", 18 "scoped_event_dispatcher.cc",
16 "scoped_event_dispatcher.h", 19 "scoped_event_dispatcher.h",
17 ] 20 ]
18 21
19 defines = [ 22 defines = [
20 "EVENTS_IMPLEMENTATION", 23 "EVENTS_IMPLEMENTATION",
21 ] 24 ]
22 25
23 deps = [ 26 deps = [
24 "//base" 27 "//base",
25 ] 28 ]
26 29
27 if (use_x11) { 30 if (use_x11) {
28 sources -= [ 31 sources -= [
29 "platform_event_source_stub.cc", 32 "platform_event_source_stub.cc",
30 ] 33 ]
31 } 34 }
32 } 35 }
OLDNEW
« ui/events/BUILD.gn ('K') | « ui/events/ipc/BUILD.gn ('k') | ui/gfx/x/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698