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

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

Issue 1909273002: 🐳 Move linux pkg_config() calls into separate BUILD.gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility Created 4 years, 8 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 | « skia/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('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("wayland_config") { 5 config("wayland_config") {
6 include_dirs = [ 6 include_dirs = [
7 "include/src", 7 "include/src",
8 "include/protocol", 8 "include/protocol",
9 "src/src", 9 "src/src",
10 ] 10 ]
(...skipping 15 matching lines...) Expand all
26 sources = [ 26 sources = [
27 "src/src/connection.c", 27 "src/src/connection.c",
28 "src/src/wayland-os.c", 28 "src/src/wayland-os.c",
29 "src/src/wayland-os.h", 29 "src/src/wayland-os.h",
30 "src/src/wayland-private.h", 30 "src/src/wayland-private.h",
31 ] 31 ]
32 32
33 configs -= [ "//build/config/compiler:chromium_code" ] 33 configs -= [ "//build/config/compiler:chromium_code" ]
34 configs += [ 34 configs += [
35 "//build/config/compiler:no_chromium_code", 35 "//build/config/compiler:no_chromium_code",
36 "//build/config/linux:libffi", 36 "//build/config/linux/libffi",
37 ":wayland_config", 37 ":wayland_config",
38 ] 38 ]
39 } 39 }
40 40
41 source_set("wayland_protocol") { 41 source_set("wayland_protocol") {
42 sources = [ 42 sources = [
43 "protocol/wayland-protocol.c", 43 "protocol/wayland-protocol.c",
44 ] 44 ]
45 45
46 deps = [ 46 deps = [
(...skipping 16 matching lines...) Expand all
63 63
64 deps = [ 64 deps = [
65 ":wayland_private", 65 ":wayland_private",
66 ":wayland_protocol", 66 ":wayland_protocol",
67 ":wayland_util", 67 ":wayland_util",
68 ] 68 ]
69 69
70 configs -= [ "//build/config/compiler:chromium_code" ] 70 configs -= [ "//build/config/compiler:chromium_code" ]
71 configs += [ 71 configs += [
72 "//build/config/compiler:no_chromium_code", 72 "//build/config/compiler:no_chromium_code",
73 "//build/config/linux:libffi", 73 "//build/config/linux/libffi",
74 ] 74 ]
75 75
76 public_configs = [ ":wayland_config" ] 76 public_configs = [ ":wayland_config" ]
77 } 77 }
78 78
79 source_set("wayland_client") { 79 source_set("wayland_client") {
80 sources = [ 80 sources = [
81 "include/protocol/wayland-client-protocol.h", 81 "include/protocol/wayland-client-protocol.h",
82 "src/src/wayland-client.c", 82 "src/src/wayland-client.c",
83 ] 83 ]
84 84
85 deps = [ 85 deps = [
86 ":wayland_private", 86 ":wayland_private",
87 ":wayland_protocol", 87 ":wayland_protocol",
88 ":wayland_util", 88 ":wayland_util",
89 ] 89 ]
90 90
91 configs -= [ "//build/config/compiler:chromium_code" ] 91 configs -= [ "//build/config/compiler:chromium_code" ]
92 configs += [ 92 configs += [
93 "//build/config/compiler:no_chromium_code", 93 "//build/config/compiler:no_chromium_code",
94 "//build/config/linux:libffi", 94 "//build/config/linux/libffi",
95 ] 95 ]
96 96
97 public_configs = [ ":wayland_config" ] 97 public_configs = [ ":wayland_config" ]
98 } 98 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698