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("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
5 component("ipc") { | 7 component("ipc") { |
6 output_name = "cc_ipc" | 8 output_name = "cc_ipc" |
7 | 9 |
8 defines = [ "CC_IPC_IMPLEMENTATION" ] | 10 defines = [ "CC_IPC_IMPLEMENTATION" ] |
9 | 11 |
10 sources = [ | 12 sources = [ |
11 "cc_ipc_export.h", | 13 "cc_ipc_export.h", |
12 "cc_param_traits.cc", | 14 "cc_param_traits.cc", |
13 "cc_param_traits.h", | 15 "cc_param_traits.h", |
14 "cc_param_traits_macros.h", | 16 "cc_param_traits_macros.h", |
15 ] | 17 ] |
16 | 18 |
17 public_deps = [ | 19 public_deps = [ |
18 "//cc", | 20 "//cc", |
19 "//cc/surfaces", | 21 "//cc/surfaces", |
20 ] | 22 ] |
21 | 23 |
22 deps = [ | 24 deps = [ |
23 "//base", | 25 "//base", |
24 "//gpu/ipc/common", | 26 "//gpu/ipc/common", |
25 "//ipc", | 27 "//ipc", |
26 "//skia", | 28 "//skia", |
27 "//ui/events/ipc", | 29 "//ui/events/ipc", |
28 "//ui/gfx", | 30 "//ui/gfx", |
29 "//ui/gfx/ipc", | 31 "//ui/gfx/ipc", |
30 "//ui/gfx/ipc/geometry", | 32 "//ui/gfx/ipc/geometry", |
31 "//ui/gfx/ipc/skia", | 33 "//ui/gfx/ipc/skia", |
32 ] | 34 ] |
33 } | 35 } |
| 36 |
| 37 mojom("interfaces") { |
| 38 sources = [ |
| 39 "surface_id.mojom", |
| 40 ] |
| 41 } |
OLD | NEW |