Index: third_party/wayland-protocols/BUILD.gn |
diff --git a/third_party/wayland-protocols/BUILD.gn b/third_party/wayland-protocols/BUILD.gn |
index cfbf3eb74cbbc99ef8a7b7aadfc00416f72a2624..f584dbd3f3bf735191d4d2882ce935ea2ef013e0 100644 |
--- a/third_party/wayland-protocols/BUILD.gn |
+++ b/third_party/wayland-protocols/BUILD.gn |
@@ -148,3 +148,24 @@ source_set("remote_shell_protocol") { |
public_configs = [ ":remote_shell_protocol_config" ] |
} |
+ |
+config("gaming_input_protocol_config") { |
+ include_dirs = [ "include/protocol" ] |
+} |
+ |
+source_set("gaming_input_protocol") { |
+ sources = [ |
+ "include/protocol/gaming-input-unstable-v1-client-protocol.h", |
+ "include/protocol/gaming-input-unstable-v1-server-protocol.h", |
+ "protocol/gaming-input-protocol.c", |
+ ] |
+ |
+ deps = [ |
+ "//third_party/wayland:wayland_util", |
+ ] |
+ |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ "//build/config/compiler:no_chromium_code" ] |
+ |
+ public_configs = [ ":gaming_input_protocol_config" ] |
+} |