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("//cc/cc.gni") | 6 import("//cc/cc.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 cc_component("ipc") { | 9 cc_component("ipc") { |
10 output_name = "cc_ipc" | 10 output_name = "cc_ipc" |
(...skipping 26 matching lines...) Expand all Loading... |
37 ] | 37 ] |
38 } | 38 } |
39 | 39 |
40 mojom("interfaces") { | 40 mojom("interfaces") { |
41 sources = [ | 41 sources = [ |
42 "begin_frame_args.mojom", | 42 "begin_frame_args.mojom", |
43 "compositor_frame.mojom", | 43 "compositor_frame.mojom", |
44 "compositor_frame_metadata.mojom", | 44 "compositor_frame_metadata.mojom", |
45 "copy_output_request.mojom", | 45 "copy_output_request.mojom", |
46 "copy_output_result.mojom", | 46 "copy_output_result.mojom", |
| 47 "display_compositor.mojom", |
47 "filter_operation.mojom", | 48 "filter_operation.mojom", |
48 "filter_operations.mojom", | 49 "filter_operations.mojom", |
49 "frame_sink_id.mojom", | 50 "frame_sink_id.mojom", |
50 "local_surface_id.mojom", | 51 "local_surface_id.mojom", |
51 "mojo_compositor_frame_sink.mojom", | 52 "mojo_compositor_frame_sink.mojom", |
52 "quads.mojom", | 53 "quads.mojom", |
53 "render_pass.mojom", | 54 "render_pass.mojom", |
54 "returned_resource.mojom", | 55 "returned_resource.mojom", |
55 "selection.mojom", | 56 "selection.mojom", |
56 "shared_quad_state.mojom", | 57 "shared_quad_state.mojom", |
57 "surface_id.mojom", | 58 "surface_id.mojom", |
58 "surface_info.mojom", | 59 "surface_info.mojom", |
59 "surface_reference.mojom", | 60 "surface_reference.mojom", |
60 "surface_sequence.mojom", | 61 "surface_sequence.mojom", |
61 "texture_mailbox.mojom", | 62 "texture_mailbox.mojom", |
62 "transferable_resource.mojom", | 63 "transferable_resource.mojom", |
63 ] | 64 ] |
64 | 65 |
65 public_deps = [ | 66 public_deps = [ |
66 "//gpu/ipc/common:interfaces", | 67 "//gpu/ipc/common:interfaces", |
67 "//mojo/common:common_custom_types", | 68 "//mojo/common:common_custom_types", |
68 "//skia/public/interfaces", | 69 "//skia/public/interfaces", |
69 "//ui/events/mojo:interfaces", | 70 "//ui/events/mojo:interfaces", |
70 "//ui/gfx/geometry/mojo", | 71 "//ui/gfx/geometry/mojo", |
71 "//ui/gfx/mojo", | 72 "//ui/gfx/mojo", |
72 ] | 73 ] |
73 } | 74 } |
74 | 75 |
75 # Interfaces between two privileged services. | |
76 mojom("internal_interfaces") { | |
77 sources = [ | |
78 "display_compositor.mojom", | |
79 ] | |
80 | |
81 public_deps = [ | |
82 ":interfaces", | |
83 "//gpu/ipc/common:interfaces", | |
84 "//ui/gfx/geometry/mojo", | |
85 "//ui/gfx/mojo", | |
86 ] | |
87 } | |
88 | |
89 mojom("test_interfaces") { | 76 mojom("test_interfaces") { |
90 testonly = true | 77 testonly = true |
91 sources = [ | 78 sources = [ |
92 "traits_test_service.mojom", | 79 "traits_test_service.mojom", |
93 ] | 80 ] |
94 | 81 |
95 public_deps = [ | 82 public_deps = [ |
96 ":interfaces", | 83 ":interfaces", |
97 ] | 84 ] |
98 } | 85 } |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "//skia/public/interfaces:struct_traits", | 124 "//skia/public/interfaces:struct_traits", |
138 "//ui/events:events_base", | 125 "//ui/events:events_base", |
139 "//ui/events/mojo:struct_traits", | 126 "//ui/events/mojo:struct_traits", |
140 "//ui/gfx", | 127 "//ui/gfx", |
141 "//ui/gfx:selection_bound", | 128 "//ui/gfx:selection_bound", |
142 "//ui/gfx/geometry/mojo:struct_traits", | 129 "//ui/gfx/geometry/mojo:struct_traits", |
143 "//ui/gfx/mojo:mojo", | 130 "//ui/gfx/mojo:mojo", |
144 "//ui/gfx/mojo:struct_traits", | 131 "//ui/gfx/mojo:struct_traits", |
145 ] | 132 ] |
146 } | 133 } |
OLD | NEW |