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

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

Issue 2397843002: wayland-protocols: Add protocol for explicit synchronization support.
Patch Set: rebase Created 4 years, 2 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 84c81563f25647be4ecc68a73a1ddb9454de1e37..e00527464dfc511430e25c37dd6efbaba740f2cf 100644
--- a/third_party/wayland-protocols/BUILD.gn
+++ b/third_party/wayland-protocols/BUILD.gn
@@ -190,3 +190,24 @@ source_set("stylus_protocol") {
public_configs = [ ":stylus_protocol_config" ]
}
+
+config("linux_explicit_synchronization_protocol_config") {
+ include_dirs = [ "include/protocol" ]
+}
+
+source_set("linux_explicit_synchronization_protocol") {
+ sources = [
+ "include/protocol/linux-explicit-synchronization-unstable-v1-client-protocol.h",
+ "include/protocol/linux-explicit-synchronization-unstable-v1-server-protocol.h",
+ "protocol/linux-explicit-synchronization-protocol.c",
+ ]
+
+ deps = [
+ "//third_party/wayland:wayland_util",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ public_configs = [ ":linux_explicit_synchronization_protocol_config" ]
+}
« 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