OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//ui/base/ui_features.gni") |
7 import("//ui/ozone/ozone.gni") | 8 import("//ui/ozone/ozone.gni") |
8 | 9 |
9 if (use_xkbcommon) { | 10 if (use_xkbcommon) { |
10 pkg_config("xkbcommon") { | 11 pkg_config("xkbcommon") { |
11 packages = [ "xkbcommon" ] | 12 packages = [ "xkbcommon" ] |
12 } | 13 } |
13 } | 14 } |
14 | 15 |
15 if (use_ozone) { | 16 if (use_ozone) { |
16 pkg_config("libdrm") { | 17 pkg_config("libdrm") { |
(...skipping 10 matching lines...) Expand all Loading... |
27 ] | 28 ] |
28 | 29 |
29 defines = [ "EXO_IMPLEMENTATION" ] | 30 defines = [ "EXO_IMPLEMENTATION" ] |
30 | 31 |
31 deps = [ | 32 deps = [ |
32 "//ash", | 33 "//ash", |
33 "//ash/public/cpp", | 34 "//ash/public/cpp", |
34 "//base", | 35 "//base", |
35 "//components/exo", | 36 "//components/exo", |
36 "//device/gamepad", | 37 "//device/gamepad", |
37 "//ipc:ipc", | 38 "//ipc", |
38 "//skia", | 39 "//skia", |
39 "//third_party/wayland:wayland_server", | 40 "//third_party/wayland:wayland_server", |
40 "//third_party/wayland-protocols:alpha_compositing_protocol", | 41 "//third_party/wayland-protocols:alpha_compositing_protocol", |
41 "//third_party/wayland-protocols:gaming_input_protocol", | 42 "//third_party/wayland-protocols:gaming_input_protocol", |
42 "//third_party/wayland-protocols:remote_shell_protocol", | 43 "//third_party/wayland-protocols:remote_shell_protocol", |
43 "//third_party/wayland-protocols:secure_output_protocol", | 44 "//third_party/wayland-protocols:secure_output_protocol", |
44 "//third_party/wayland-protocols:stylus_protocol", | 45 "//third_party/wayland-protocols:stylus_protocol", |
45 "//third_party/wayland-protocols:viewporter_protocol", | 46 "//third_party/wayland-protocols:viewporter_protocol", |
46 "//third_party/wayland-protocols:vsync_feedback_protocol", | 47 "//third_party/wayland-protocols:vsync_feedback_protocol", |
47 "//third_party/wayland-protocols:xdg_shell_protocol", | 48 "//third_party/wayland-protocols:xdg_shell_protocol", |
48 "//ui/aura:aura", | 49 "//ui/aura", |
| 50 "//ui/base", |
49 "//ui/events:dom_keycode_converter", | 51 "//ui/events:dom_keycode_converter", |
50 "//ui/events:events_base", | 52 "//ui/events:events_base", |
51 "//ui/views", | 53 "//ui/views", |
52 ] | 54 ] |
53 | 55 |
54 if (use_ozone) { | 56 if (use_ozone) { |
55 deps += [ | 57 deps += [ |
56 "//third_party/mesa:wayland_drm_protocol", | 58 "//third_party/mesa:wayland_drm_protocol", |
57 "//third_party/wayland-protocols:linux_dmabuf_protocol", | 59 "//third_party/wayland-protocols:linux_dmabuf_protocol", |
58 ] | 60 ] |
59 configs += [ ":libdrm" ] | 61 configs += [ ":libdrm" ] |
60 } | 62 } |
61 | 63 |
62 if (use_xkbcommon) { | 64 if (use_xkbcommon) { |
63 configs += [ ":xkbcommon" ] | 65 configs += [ ":xkbcommon" ] |
64 defines += [ "USE_XKBCOMMON" ] | |
65 deps += [ "//ui/events/keycodes:xkb" ] | 66 deps += [ "//ui/events/keycodes:xkb" ] |
66 } | 67 } |
67 } | 68 } |
68 | 69 |
69 source_set("unit_tests") { | 70 source_set("unit_tests") { |
70 testonly = true | 71 testonly = true |
71 | 72 |
72 sources = [ | 73 sources = [ |
73 "server_unittest.cc", | 74 "server_unittest.cc", |
74 ] | 75 ] |
(...skipping 24 matching lines...) Expand all Loading... |
99 | 100 |
100 if (ozone_platform_gbm) { | 101 if (ozone_platform_gbm) { |
101 configs += [ | 102 configs += [ |
102 ":libdrm", | 103 ":libdrm", |
103 "//ui/gl:gl_config", | 104 "//ui/gl:gl_config", |
104 ] | 105 ] |
105 defines = [ "OZONE_PLATFORM_GBM" ] | 106 defines = [ "OZONE_PLATFORM_GBM" ] |
106 deps += [ "//third_party/minigbm" ] | 107 deps += [ "//third_party/minigbm" ] |
107 } | 108 } |
108 } | 109 } |
OLD | NEW |