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

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

Issue 1426583009: third_party: Add wayland library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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 | « build/linux/system.gyp ('k') | third_party/wayland/LICENSE » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 config("wayland_config") {
6 include_dirs = [
7 "include/src",
8 "include/protocol",
9 "src/src",
10 ]
11 }
12
13 source_set("wayland_util") {
14 sources = [
15 "src/src/wayland-util.c",
16 "src/src/wayland-util.h",
17 ]
18
19 configs -= [ "//build/config/compiler:chromium_code" ]
20 configs += [ "//build/config/compiler:no_chromium_code" ]
21
22 public_configs = [ ":wayland_config" ]
23 }
24
25 source_set("wayland_private") {
26 sources = [
27 "src/src/connection.c",
28 "src/src/wayland-os.c",
29 "src/src/wayland-os.h",
30 "src/src/wayland-private.h",
31 ]
32
33 configs -= [ "//build/config/compiler:chromium_code" ]
34 configs += [
35 "//build/config/compiler:no_chromium_code",
36 "//build/config/linux:libffi",
37 ":wayland_config",
38 ]
39 }
40
41 source_set("wayland_protocol") {
42 sources = [
43 "protocol/wayland-protocol.c",
44 ]
45
46 deps = [
47 ":wayland_util",
48 ]
49
50 configs -= [ "//build/config/compiler:chromium_code" ]
51 configs += [ "//build/config/compiler:no_chromium_code" ]
52
53 public_configs = [ ":wayland_config" ]
54 }
55
56 source_set("wayland_server") {
57 sources = [
58 "include/protocol/wayland-server-protocol.h",
59 "src/src/event-loop.c",
60 "src/src/wayland-server.c",
61 "src/src/wayland-shm.c",
62 ]
63
64 deps = [
65 ":wayland_private",
66 ":wayland_protocol",
67 ":wayland_util",
68 ]
69
70 configs -= [ "//build/config/compiler:chromium_code" ]
71 configs += [
72 "//build/config/compiler:no_chromium_code",
73 "//build/config/linux:libffi",
74 ]
75
76 public_configs = [ ":wayland_config" ]
77 }
78
79 source_set("wayland_client") {
80 sources = [
81 "include/protocol/wayland-client-protocol.h",
82 "src/src/wayland-client.c",
83 ]
84
85 deps = [
86 ":wayland_private",
87 ":wayland_protocol",
88 ":wayland_util",
89 ]
90
91 configs -= [ "//build/config/compiler:chromium_code" ]
92 configs += [
93 "//build/config/compiler:no_chromium_code",
94 "//build/config/linux:libffi",
95 ]
96
97 public_configs = [ ":wayland_config" ]
98 }
OLDNEW
« no previous file with comments | « build/linux/system.gyp ('k') | third_party/wayland/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698