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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 7 |
7 component("ipc") { | 8 component("ipc") { |
8 output_name = "cc_ipc" | 9 output_name = "cc_ipc" |
9 | 10 |
10 defines = [ "CC_IPC_IMPLEMENTATION" ] | 11 defines = [ "CC_IPC_IMPLEMENTATION" ] |
11 | 12 |
12 sources = [ | 13 sources = [ |
13 "cc_ipc_export.h", | 14 "cc_ipc_export.h", |
14 "cc_param_traits.cc", | 15 "cc_param_traits.cc", |
15 "cc_param_traits.h", | 16 "cc_param_traits.h", |
16 "cc_param_traits_macros.h", | 17 "cc_param_traits_macros.h", |
17 ] | 18 ] |
18 | 19 |
19 public_deps = [ | 20 public_deps = [ |
20 "//cc", | 21 "//cc", |
21 "//cc/surfaces", | 22 "//cc/surfaces", |
| 23 "//skia", |
22 ] | 24 ] |
23 | 25 |
24 deps = [ | 26 deps = [ |
25 "//base", | 27 "//base", |
26 "//gpu/ipc/common", | 28 "//gpu/ipc/common", |
27 "//ipc", | 29 "//ipc", |
28 "//skia", | |
29 "//ui/events/ipc", | 30 "//ui/events/ipc", |
30 "//ui/gfx", | 31 "//ui/gfx", |
31 "//ui/gfx/ipc", | 32 "//ui/gfx/ipc", |
32 "//ui/gfx/ipc/geometry", | 33 "//ui/gfx/ipc/geometry", |
33 "//ui/gfx/ipc/skia", | 34 "//ui/gfx/ipc/skia", |
34 ] | 35 ] |
35 } | 36 } |
36 | 37 |
37 mojom("interfaces") { | 38 mojom("interfaces") { |
38 sources = [ | 39 sources = [ |
39 "render_pass_id.mojom", | 40 "render_pass_id.mojom", |
40 "returned_resource.mojom", | 41 "returned_resource.mojom", |
41 "surface_id.mojom", | 42 "surface_id.mojom", |
| 43 "transferable_resource.mojom", |
42 ] | 44 ] |
43 | 45 |
44 public_deps = [ | 46 public_deps = [ |
45 "//gpu/ipc/common:interfaces", | 47 "//gpu/ipc/common:interfaces", |
| 48 "//ui/gfx/geometry/mojo", |
46 ] | 49 ] |
47 } | 50 } |
48 | 51 |
49 mojom("test_interfaces") { | 52 mojom("test_interfaces") { |
50 testonly = true | 53 testonly = true |
51 sources = [ | 54 sources = [ |
52 "traits_test_service.mojom", | 55 "traits_test_service.mojom", |
53 ] | 56 ] |
54 | 57 |
55 public_deps = [ | 58 public_deps = [ |
56 ":interfaces", | 59 ":interfaces", |
57 ] | 60 ] |
58 } | 61 } |
OLD | NEW |