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

Side by Side Diff: third_party/wayland-protocols/BUILD.gn

Issue 1746633002: third_party: Add linux_dmabuf_protocol target to wayland-protocols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/wayland-protocols/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = [
11 "include/protocol/xdg-shell-unstable-v5-client-protocol.h", 11 "include/protocol/xdg-shell-unstable-v5-client-protocol.h",
12 "include/protocol/xdg-shell-unstable-v5-server-protocol.h", 12 "include/protocol/xdg-shell-unstable-v5-server-protocol.h",
13 "protocol/xdg-shell-protocol.c", 13 "protocol/xdg-shell-protocol.c",
14 ] 14 ]
15 15
16 deps = [ 16 deps = [
17 "//third_party/wayland:wayland_util", 17 "//third_party/wayland:wayland_util",
18 ] 18 ]
19 19
20 configs -= [ "//build/config/compiler:chromium_code" ] 20 configs -= [ "//build/config/compiler:chromium_code" ]
21 configs += [ "//build/config/compiler:no_chromium_code" ] 21 configs += [ "//build/config/compiler:no_chromium_code" ]
22 22
23 public_configs = [ ":xdg_shell_protocol_config" ] 23 public_configs = [ ":xdg_shell_protocol_config" ]
24 } 24 }
25 25
26 config("linux_dmabuf_protocol_config") {
27 include_dirs = [ "include/protocol" ]
28 }
29
30 source_set("linux_dmabuf_protocol") {
31 sources = [
32 "include/protocol/linux-dmabuf-unstable-v1-client-protocol.h",
33 "include/protocol/linux-dmabuf-unstable-v1-server-protocol.h",
34 "protocol/linux-dmabuf-protocol.c",
35 ]
36
37 deps = [
38 "//third_party/wayland:wayland_util",
39 ]
40
41 configs -= [ "//build/config/compiler:chromium_code" ]
42 configs += [ "//build/config/compiler:no_chromium_code" ]
43
44 public_configs = [ ":linux_dmabuf_protocol_config" ]
45 }
46
26 config("scaler_protocol_config") { 47 config("scaler_protocol_config") {
27 include_dirs = [ "include/protocol" ] 48 include_dirs = [ "include/protocol" ]
28 } 49 }
29 50
30 source_set("scaler_protocol") { 51 source_set("scaler_protocol") {
31 sources = [ 52 sources = [
32 "include/protocol/scaler-client-protocol.h", 53 "include/protocol/scaler-client-protocol.h",
33 "include/protocol/scaler-server-protocol.h", 54 "include/protocol/scaler-server-protocol.h",
34 "protocol/scaler-protocol.c", 55 "protocol/scaler-protocol.c",
35 ] 56 ]
36 57
37 deps = [ 58 deps = [
38 "//third_party/wayland:wayland_util", 59 "//third_party/wayland:wayland_util",
39 ] 60 ]
40 61
41 configs -= [ "//build/config/compiler:chromium_code" ] 62 configs -= [ "//build/config/compiler:chromium_code" ]
42 configs += [ "//build/config/compiler:no_chromium_code" ] 63 configs += [ "//build/config/compiler:no_chromium_code" ]
43 64
44 public_configs = [ ":scaler_protocol_config" ] 65 public_configs = [ ":scaler_protocol_config" ]
45 } 66 }
OLDNEW
« 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