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("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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 shared_library("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 } |
OLD | NEW |