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

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

Issue 2144283003: wayland-protocols: Add protocol for stylus support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git checkout stylus Created 4 years, 5 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 f584dbd3f3bf735191d4d2882ce935ea2ef013e0..84c81563f25647be4ecc68a73a1ddb9454de1e37 100644
--- a/third_party/wayland-protocols/BUILD.gn
+++ b/third_party/wayland-protocols/BUILD.gn
@@ -169,3 +169,24 @@ source_set("gaming_input_protocol") {
public_configs = [ ":gaming_input_protocol_config" ]
}
+
+config("stylus_protocol_config") {
+ include_dirs = [ "include/protocol" ]
+}
+
+source_set("stylus_protocol") {
+ sources = [
+ "include/protocol/stylus-unstable-v1-client-protocol.h",
+ "include/protocol/stylus-unstable-v1-server-protocol.h",
+ "protocol/stylus-protocol.c",
+ ]
+
+ deps = [
+ "//third_party/wayland:wayland_util",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ public_configs = [ ":stylus_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