OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("bindings") { | 5 interfaces_bindings_gen_dir = "$root_gen_dir/mojo/public/interfaces/bindings" |
6 | |
7 component("bindings") { | |
6 sources = [ | 8 sources = [ |
9 # Normally, targets should depend on the source_sets generated by mojom | |
10 # targets. However, the generated source_sets use portions of the bindings | |
11 # library. In order to avoid linker warnings about locally-defined imports | |
12 # in Windows components build, this target depends on the generated .cc | |
yzshen1
2016/09/22 22:31:15
nit: please consider changing ".cc" to "C++", beca
dcheng
2016/09/24 01:06:44
Done.
| |
13 # files directly so that the EXPORT macro defintions match. | |
14 "$interfaces_bindings_gen_dir/interface_control_messages.mojom-shared-intern al.h", | |
15 "$interfaces_bindings_gen_dir/interface_control_messages.mojom-shared.cc", | |
16 "$interfaces_bindings_gen_dir/interface_control_messages.mojom-shared.h", | |
17 "$interfaces_bindings_gen_dir/interface_control_messages.mojom.cc", | |
18 "$interfaces_bindings_gen_dir/interface_control_messages.mojom.h", | |
19 "$interfaces_bindings_gen_dir/pipe_control_messages.mojom-shared-internal.h" , | |
20 "$interfaces_bindings_gen_dir/pipe_control_messages.mojom-shared.cc", | |
21 "$interfaces_bindings_gen_dir/pipe_control_messages.mojom-shared.h", | |
22 "$interfaces_bindings_gen_dir/pipe_control_messages.mojom.cc", | |
23 "$interfaces_bindings_gen_dir/pipe_control_messages.mojom.h", | |
7 "array.h", | 24 "array.h", |
8 "array_data_view.h", | 25 "array_data_view.h", |
9 "array_traits.h", | 26 "array_traits.h", |
10 "array_traits_carray.h", | 27 "array_traits_carray.h", |
11 "array_traits_standard.h", | 28 "array_traits_standard.h", |
12 "array_traits_stl.h", | 29 "array_traits_stl.h", |
13 "associated_binding.h", | 30 "associated_binding.h", |
14 "associated_binding_set.h", | 31 "associated_binding_set.h", |
15 "associated_group.h", | 32 "associated_group.h", |
16 "associated_group_controller.h", | 33 "associated_group_controller.h", |
17 "associated_interface_ptr.h", | 34 "associated_interface_ptr.h", |
18 "associated_interface_ptr_info.h", | 35 "associated_interface_ptr_info.h", |
19 "associated_interface_request.h", | 36 "associated_interface_request.h", |
20 "binding.h", | 37 "binding.h", |
21 "binding_set.h", | 38 "binding_set.h", |
39 "bindings_export.h", | |
22 "connection_error_callback.h", | 40 "connection_error_callback.h", |
23 "connector.h", | 41 "connector.h", |
24 "enum_traits.h", | 42 "enum_traits.h", |
25 "filter_chain.h", | 43 "filter_chain.h", |
26 "interface_data_view.h", | 44 "interface_data_view.h", |
27 "interface_endpoint_client.h", | 45 "interface_endpoint_client.h", |
28 "interface_endpoint_controller.h", | 46 "interface_endpoint_controller.h", |
29 "interface_id.h", | 47 "interface_id.h", |
30 "interface_ptr.h", | 48 "interface_ptr.h", |
31 "interface_ptr_info.h", | 49 "interface_ptr_info.h", |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 | 149 |
132 public_deps = [ | 150 public_deps = [ |
133 ":struct_traits", | 151 ":struct_traits", |
134 "//base", | 152 "//base", |
135 "//ipc:param_traits", | 153 "//ipc:param_traits", |
136 "//mojo/public/cpp/system", | 154 "//mojo/public/cpp/system", |
137 ] | 155 ] |
138 | 156 |
139 deps = [ | 157 deps = [ |
140 "//base", | 158 "//base", |
141 "//mojo/public/interfaces/bindings:bindings_cpp_sources", | 159 "//mojo/public/interfaces/bindings:bindings__generator", |
160 "//mojo/public/interfaces/bindings:bindings_shared__generator", | |
142 ] | 161 ] |
162 | |
163 defines = [ "MOJO_CPP_BINDINGS_IMPLEMENTATION" ] | |
143 } | 164 } |
144 | 165 |
145 source_set("struct_traits") { | 166 source_set("struct_traits") { |
146 sources = [ | 167 sources = [ |
147 "struct_traits.h", | 168 "struct_traits.h", |
148 ] | 169 ] |
149 } | 170 } |
150 | 171 |
151 if (!is_ios) { | 172 if (!is_ios) { |
152 # TODO(yzshen): crbug.com/617718 Consider moving this into blink. | 173 # TODO(yzshen): crbug.com/617718 Consider moving this into blink. |
(...skipping 12 matching lines...) Expand all Loading... | |
165 ] | 186 ] |
166 | 187 |
167 public_deps = [ | 188 public_deps = [ |
168 ":bindings", | 189 ":bindings", |
169 "//third_party/WebKit/Source/wtf", | 190 "//third_party/WebKit/Source/wtf", |
170 ] | 191 ] |
171 | 192 |
172 public_configs = [ "//third_party/WebKit/Source:config" ] | 193 public_configs = [ "//third_party/WebKit/Source:config" ] |
173 } | 194 } |
174 } | 195 } |
OLD | NEW |