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/base", |
16 "//ui/events", | 17 "//ui/events", |
17 "//ui/events/devices", | 18 "//ui/events/devices", |
18 "//ui/events/devices/x11", | 19 "//ui/events/devices/x11", |
19 "//ui/events/platform", | 20 "//ui/events/platform", |
20 "//ui/events/platform/x11", | 21 "//ui/events/platform/x11", |
21 "//ui/gfx/x", | 22 "//ui/gfx/x", |
22 "//ui/platform_window", | 23 "//ui/platform_window", |
23 ] | 24 ] |
24 | 25 |
25 configs += [ "//build/config/linux:x11" ] | 26 configs += [ "//build/config/linux:x11" ] |
(...skipping 19 matching lines...) Expand all Loading... |
45 "//ui/base", | 46 "//ui/base", |
46 "//ui/base/x", | 47 "//ui/base/x", |
47 ] | 48 ] |
48 } else if (use_x11) { | 49 } else if (use_x11) { |
49 sources += [ | 50 sources += [ |
50 "x11_window.cc", | 51 "x11_window.cc", |
51 "x11_window.h", | 52 "x11_window.h", |
52 ] | 53 ] |
53 } | 54 } |
54 } | 55 } |
OLD | NEW |