OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 group("common") { | 8 group("common") { |
9 if (is_component_build) { | 9 if (is_component_build) { |
10 public_deps = [ | 10 public_deps = [ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 "mailbox_holder.mojom", | 145 "mailbox_holder.mojom", |
146 "memory_stats.mojom", | 146 "memory_stats.mojom", |
147 "surface_handle.mojom", | 147 "surface_handle.mojom", |
148 "sync_token.mojom", | 148 "sync_token.mojom", |
149 ] | 149 ] |
150 | 150 |
151 public_deps = [ | 151 public_deps = [ |
152 "//mojo/common:common_custom_types", | 152 "//mojo/common:common_custom_types", |
153 "//ui/gfx/geometry/mojo", | 153 "//ui/gfx/geometry/mojo", |
154 ] | 154 ] |
| 155 |
| 156 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 157 use_once_callback = false |
155 } | 158 } |
156 | 159 |
157 mojom("test_interfaces") { | 160 mojom("test_interfaces") { |
158 testonly = true | 161 testonly = true |
159 sources = [ | 162 sources = [ |
160 "traits_test_service.mojom", | 163 "traits_test_service.mojom", |
161 ] | 164 ] |
162 | 165 |
163 public_deps = [ | 166 public_deps = [ |
164 ":interfaces", | 167 ":interfaces", |
165 ] | 168 ] |
| 169 |
| 170 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 171 use_once_callback = false |
166 } | 172 } |
167 | 173 |
168 source_set("struct_traits") { | 174 source_set("struct_traits") { |
169 sources = [ | 175 sources = [ |
170 "mailbox_holder_struct_traits.h", | 176 "mailbox_holder_struct_traits.h", |
171 "mailbox_struct_traits.h", | 177 "mailbox_struct_traits.h", |
172 "memory_stats_struct_traits.h", | 178 "memory_stats_struct_traits.h", |
173 "surface_handle_struct_traits.h", | 179 "surface_handle_struct_traits.h", |
174 "sync_token_struct_traits.h", | 180 "sync_token_struct_traits.h", |
175 ] | 181 ] |
176 deps = [ | 182 deps = [ |
177 ":interfaces_shared_cpp_sources", | 183 ":interfaces_shared_cpp_sources", |
178 ":surface_handle_type", | 184 ":surface_handle_type", |
179 "//gpu/command_buffer/common", | 185 "//gpu/command_buffer/common", |
180 "//gpu/ipc/common", | 186 "//gpu/ipc/common", |
181 "//mojo/public/cpp/bindings:bindings", | 187 "//mojo/public/cpp/bindings:bindings", |
182 ] | 188 ] |
183 } | 189 } |
OLD | NEW |