| 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/base/ui_features.gni") |
| 8 import("//ui/ozone/ozone.gni") | 8 import("//ui/ozone/ozone.gni") |
| 9 | 9 |
| 10 if (use_xkbcommon) { | 10 if (use_xkbcommon) { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 "//ui/views", | 56 "//ui/views", |
| 57 "//ui/wm:wm", | 57 "//ui/wm:wm", |
| 58 ] | 58 ] |
| 59 | 59 |
| 60 if (use_ozone) { | 60 if (use_ozone) { |
| 61 deps += [ | 61 deps += [ |
| 62 "//third_party/mesa:wayland_drm_protocol", | 62 "//third_party/mesa:wayland_drm_protocol", |
| 63 "//third_party/wayland-protocols:linux_dmabuf_protocol", | 63 "//third_party/wayland-protocols:linux_dmabuf_protocol", |
| 64 ] | 64 ] |
| 65 configs += [ ":libdrm" ] | 65 configs += [ ":libdrm" ] |
| 66 |
| 67 if (is_chromeos) { |
| 68 deps += [ "//ui/events/ozone:events_ozone_layout" ] |
| 69 } |
| 66 } | 70 } |
| 67 | 71 |
| 68 if (use_xkbcommon) { | 72 if (use_xkbcommon) { |
| 69 configs += [ ":xkbcommon" ] | 73 configs += [ ":xkbcommon" ] |
| 70 deps += [ "//ui/events/keycodes:xkb" ] | 74 deps += [ "//ui/events/keycodes:xkb" ] |
| 71 } | 75 } |
| 72 } | 76 } |
| 73 | 77 |
| 74 source_set("unit_tests") { | 78 source_set("unit_tests") { |
| 75 testonly = true | 79 testonly = true |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 ] | 188 ] |
| 185 | 189 |
| 186 configs += [ | 190 configs += [ |
| 187 ":libdrm", | 191 ":libdrm", |
| 188 "//ui/gl:gl_config", | 192 "//ui/gl:gl_config", |
| 189 ] | 193 ] |
| 190 defines = [ "OZONE_PLATFORM_GBM" ] | 194 defines = [ "OZONE_PLATFORM_GBM" ] |
| 191 deps += [ "//third_party/minigbm" ] | 195 deps += [ "//third_party/minigbm" ] |
| 192 } | 196 } |
| 193 } | 197 } |
| OLD | NEW |