OLD | NEW |
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 import("//ui/ozone/ozone.gni") | 6 import("//ui/ozone/ozone.gni") |
7 | 7 |
8 assert(use_x11 || ozone_platform_x11) | 8 assert(use_x11 || ozone_platform_x11) |
9 | 9 |
10 component("x11") { | 10 component("x11") { |
11 output_name = "x11_window" | 11 output_name = "x11_window" |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//base", | 14 "//base", |
15 "//skia", | 15 "//skia", |
16 "//ui/events", | 16 "//ui/events", |
17 "//ui/events/devices", | 17 "//ui/events/devices", |
| 18 "//ui/events/devices/x11", |
18 "//ui/events/platform", | 19 "//ui/events/platform", |
19 "//ui/events/platform/x11", | 20 "//ui/events/platform/x11", |
20 "//ui/gfx/x", | 21 "//ui/gfx/x", |
21 "//ui/platform_window", | 22 "//ui/platform_window", |
22 ] | 23 ] |
23 | 24 |
24 configs += [ "//build/config/linux:x11" ] | 25 configs += [ "//build/config/linux:x11" ] |
25 | 26 |
26 defines = [ "X11_WINDOW_IMPLEMENTATION" ] | 27 defines = [ "X11_WINDOW_IMPLEMENTATION" ] |
27 | 28 |
(...skipping 13 matching lines...) Expand all Loading... |
41 "x11_window_ozone.h", | 42 "x11_window_ozone.h", |
42 ] | 43 ] |
43 deps += [ "//ui/base" ] | 44 deps += [ "//ui/base" ] |
44 } else if (use_x11) { | 45 } else if (use_x11) { |
45 sources += [ | 46 sources += [ |
46 "x11_window.cc", | 47 "x11_window.cc", |
47 "x11_window.h", | 48 "x11_window.h", |
48 ] | 49 ] |
49 } | 50 } |
50 } | 51 } |
OLD | NEW |