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

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

Issue 2093803002: wayland-protocols: Add gaming-input-unstable-v1 protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@migration
Patch Set: fixed wording to allow for multiple gamepads reported as one Created 4 years, 6 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
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" ]
+}

Powered by Google App Engine
This is Rietveld 408576698