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

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

Issue 584683002: Improve GN header checker, make //ui pass. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('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 component("x11") { 5 component("x11") {
6 output_name = "x11_events_platform" 6 output_name = "x11_events_platform"
7 7
8 sources = [ 8 sources = [
9 "x11_event_source.cc", 9 "x11_event_source.cc",
10 "x11_event_source.h", 10 "x11_event_source.h",
11 "x11_event_source_glib.cc", 11 "x11_event_source_glib.cc",
12 "x11_event_source_libevent.cc", 12 "x11_event_source_libevent.cc",
13 ] 13 ]
14 14
15 defines = [ 15 defines = [ "EVENTS_IMPLEMENTATION" ]
16 "EVENTS_IMPLEMENTATION",
17 ]
18 16
19 configs += [ 17 configs += [ "//build/config/linux:x11" ]
20 "//build/config/linux:x11",
21 ]
22 18
23 deps = [ 19 public_deps = [
24 "//ui/events", 20 "//ui/events",
25 "//ui/events:events_base", 21 "//ui/events:events_base",
26 "//ui/events/platform", 22 "//ui/events/platform",
27 "//ui/gfx/x", 23 "//ui/gfx/x",
28 ] 24 ]
29 25
30 if (is_linux) { 26 if (is_linux) {
31 sources -= [ 27 sources -= [ "x11_event_source_libevent.cc" ]
32 "x11_event_source_libevent.cc",
33 ]
34 28
35 configs += [ 29 configs += [ "//build/config/linux:glib" ]
36 "//build/config/linux:glib",
37 ]
38 } else { 30 } else {
39 sources -= [ 31 sources -= [ "x11_event_source_glib.cc" ]
40 "x11_event_source_glib.cc",
41 ]
42 } 32 }
43 } 33 }
OLDNEW
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698