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

Side by Side Diff: components/exo/wayland/BUILD.gn

Issue 2477043002: exo: Add drm support to motion_events. (Closed)
Patch Set: Last round of nits. Created 4 years, 1 month 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 | « no previous file | components/exo/wayland/clients/motion_events.cc » ('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 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/ozone/ozone.gni")
7 8
8 if (use_xkbcommon) { 9 if (use_xkbcommon) {
9 pkg_config("xkbcommon") { 10 pkg_config("xkbcommon") {
10 packages = [ "xkbcommon" ] 11 packages = [ "xkbcommon" ]
11 } 12 }
12 } 13 }
13 14
14 if (use_ozone) { 15 if (use_ozone) {
15 pkg_config("libdrm") { 16 pkg_config("libdrm") {
16 packages = [ "libdrm" ] 17 packages = [ "libdrm" ]
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 executable("wayland_motion_events") { 85 executable("wayland_motion_events") {
85 sources = [ 86 sources = [
86 "clients/motion_events.cc", 87 "clients/motion_events.cc",
87 ] 88 ]
88 89
89 deps = [ 90 deps = [
90 "//base", 91 "//base",
91 "//skia", 92 "//skia",
92 "//third_party/wayland:wayland_client", 93 "//third_party/wayland:wayland_client",
94 "//third_party/wayland-protocols:linux_dmabuf_protocol",
95 "//ui/gfx/geometry",
96 "//ui/gl",
97 "//ui/gl/init",
93 ] 98 ]
99
100 if (ozone_platform_gbm) {
101 configs += [
102 ":libdrm",
103 "//ui/gl:gl_config",
104 ]
105 defines = [ "OZONE_PLATFORM_GBM" ]
106 deps += [ "//third_party/minigbm" ]
107 }
94 } 108 }
OLDNEW
« no previous file with comments | « no previous file | components/exo/wayland/clients/motion_events.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698