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

Unified Diff: third_party/wayland-protocols/BUILD.gn

Issue 1746633002: third_party: Add linux_dmabuf_protocol target to wayland-protocols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/wayland-protocols/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/wayland-protocols/BUILD.gn
diff --git a/third_party/wayland-protocols/BUILD.gn b/third_party/wayland-protocols/BUILD.gn
index b9aad4611150da7d438340edd0e2a9bce4137890..e3156926f4a8a86ad020b682d809bcd7f8023386 100644
--- a/third_party/wayland-protocols/BUILD.gn
+++ b/third_party/wayland-protocols/BUILD.gn
@@ -23,6 +23,27 @@ source_set("xdg_shell_protocol") {
public_configs = [ ":xdg_shell_protocol_config" ]
}
+config("linux_dmabuf_protocol_config") {
+ include_dirs = [ "include/protocol" ]
+}
+
+source_set("linux_dmabuf_protocol") {
+ sources = [
+ "include/protocol/linux-dmabuf-unstable-v1-client-protocol.h",
+ "include/protocol/linux-dmabuf-unstable-v1-server-protocol.h",
+ "protocol/linux-dmabuf-protocol.c",
+ ]
+
+ deps = [
+ "//third_party/wayland:wayland_util",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ public_configs = [ ":linux_dmabuf_protocol_config" ]
+}
+
config("scaler_protocol_config") {
include_dirs = [ "include/protocol" ]
}
« no previous file with comments | « no previous file | third_party/wayland-protocols/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698