OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 config("xdg_shell_protocol_config") { | 5 config("xdg_shell_protocol_config") { |
6 include_dirs = [ "include/protocol" ] | 6 include_dirs = [ "include/protocol" ] |
7 } | 7 } |
8 | 8 |
9 source_set("xdg_shell_protocol") { | 9 source_set("xdg_shell_protocol") { |
10 sources = [ | 10 sources = [ |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 deps = [ | 142 deps = [ |
143 "//third_party/wayland:wayland_util", | 143 "//third_party/wayland:wayland_util", |
144 ] | 144 ] |
145 | 145 |
146 configs -= [ "//build/config/compiler:chromium_code" ] | 146 configs -= [ "//build/config/compiler:chromium_code" ] |
147 configs += [ "//build/config/compiler:no_chromium_code" ] | 147 configs += [ "//build/config/compiler:no_chromium_code" ] |
148 | 148 |
149 public_configs = [ ":remote_shell_protocol_config" ] | 149 public_configs = [ ":remote_shell_protocol_config" ] |
150 } | 150 } |
| 151 |
| 152 config("gaming_input_protocol_config") { |
| 153 include_dirs = [ "include/protocol" ] |
| 154 } |
| 155 |
| 156 source_set("gaming_input_protocol") { |
| 157 sources = [ |
| 158 "include/protocol/gaming-input-unstable-v1-client-protocol.h", |
| 159 "include/protocol/gaming-input-unstable-v1-server-protocol.h", |
| 160 "protocol/gaming-input-protocol.c", |
| 161 ] |
| 162 |
| 163 deps = [ |
| 164 "//third_party/wayland:wayland_util", |
| 165 ] |
| 166 |
| 167 configs -= [ "//build/config/compiler:chromium_code" ] |
| 168 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 169 |
| 170 public_configs = [ ":gaming_input_protocol_config" ] |
| 171 } |
OLD | NEW |