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

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

Issue 1745943003: exo: Add support for linux_dmabuf interface to wayland bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wayland-protocols-linux-dmabuf
Patch Set: Prime -> LinuxDMABuf Created 4 years, 9 months 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 | « components/exo/display_unittest.cc ('k') | components/exo/wayland/server.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 7
8 if (use_xkbcommon) { 8 if (use_xkbcommon) {
9 pkg_config("xkbcommon") { 9 pkg_config("xkbcommon") {
10 packages = [ "xkbcommon" ] 10 packages = [ "xkbcommon" ]
11 } 11 }
12 } 12 }
13 13
14 if (use_ozone) {
15 pkg_config("libdrm") {
16 packages = [ "libdrm" ]
17 }
18 }
19
14 source_set("wayland") { 20 source_set("wayland") {
15 sources = [ 21 sources = [
16 "scoped_wl.cc", 22 "scoped_wl.cc",
17 "scoped_wl.h", 23 "scoped_wl.h",
18 "server.cc", 24 "server.cc",
19 "server.h", 25 "server.h",
20 ] 26 ]
21 27
22 defines = [ "EXO_IMPLEMENTATION" ] 28 defines = [ "EXO_IMPLEMENTATION" ]
23 29
24 deps = [ 30 deps = [
25 "//ash", 31 "//ash",
26 "//base", 32 "//base",
27 "//components/exo", 33 "//components/exo",
28 "//ipc:ipc", 34 "//ipc:ipc",
29 "//skia", 35 "//skia",
30 "//third_party/wayland:wayland_server", 36 "//third_party/wayland:wayland_server",
31 "//third_party/wayland-protocols:scaler_protocol", 37 "//third_party/wayland-protocols:scaler_protocol",
32 "//third_party/wayland-protocols:xdg_shell_protocol", 38 "//third_party/wayland-protocols:xdg_shell_protocol",
33 "//ui/events:dom_keycode_converter", 39 "//ui/events:dom_keycode_converter",
34 "//ui/events:events_base", 40 "//ui/events:events_base",
35 ] 41 ]
36 42
37 if (use_ozone) { 43 if (use_ozone) {
38 deps += [ "//third_party/mesa:wayland_drm_protocol" ] 44 deps += [
45 "//third_party/mesa:wayland_drm_protocol",
46 "//third_party/wayland-protocols:linux_dmabuf_protocol",
47 ]
48 configs += [ ":libdrm" ]
39 } 49 }
40 50
41 if (use_xkbcommon) { 51 if (use_xkbcommon) {
42 configs += [ ":xkbcommon" ] 52 configs += [ ":xkbcommon" ]
43
44 defines += [ "USE_XKBCOMMON" ] 53 defines += [ "USE_XKBCOMMON" ]
45 } 54 }
46 } 55 }
47 56
48 source_set("unit_tests") { 57 source_set("unit_tests") {
49 testonly = true 58 testonly = true
50 59
51 sources = [ 60 sources = [
52 "server_unittest.cc", 61 "server_unittest.cc",
53 ] 62 ]
54 63
55 deps = [ 64 deps = [
56 ":wayland", 65 ":wayland",
57 "//base", 66 "//base",
58 "//components/exo", 67 "//components/exo",
59 "//testing/gtest", 68 "//testing/gtest",
60 "//third_party/wayland:wayland_client", 69 "//third_party/wayland:wayland_client",
61 ] 70 ]
62 } 71 }
OLDNEW
« no previous file with comments | « components/exo/display_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698