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 19 matching lines...) Expand all Loading... | |
30 "//ipc", | 30 "//ipc", |
31 "//ui/events/ipc", | 31 "//ui/events/ipc", |
32 "//ui/gfx", | 32 "//ui/gfx", |
33 "//ui/gfx/ipc", | 33 "//ui/gfx/ipc", |
34 "//ui/gfx/ipc/color", | 34 "//ui/gfx/ipc/color", |
35 "//ui/gfx/ipc/geometry", | 35 "//ui/gfx/ipc/geometry", |
36 "//ui/gfx/ipc/skia", | 36 "//ui/gfx/ipc/skia", |
37 ] | 37 ] |
38 } | 38 } |
39 | 39 |
40 mojom("texture_mailbox_releaser_interface") { | |
41 sources = [ | |
42 "texture_mailbox_releaser.mojom", | |
danakj
2017/02/10 18:32:50
why isn't this part of "interfaces" below?
Saman Sami
2017/02/10 19:10:07
because struct traits depending on interfaces crea
danakj
2017/02/10 22:51:03
Can you leave a comment here explaining this is a
| |
43 ] | |
44 public_deps = [ | |
45 "//gpu/ipc/common:interfaces", | |
46 ] | |
47 } | |
48 | |
40 mojom("interfaces") { | 49 mojom("interfaces") { |
41 sources = [ | 50 sources = [ |
42 "begin_frame_args.mojom", | 51 "begin_frame_args.mojom", |
43 "compositor_frame.mojom", | 52 "compositor_frame.mojom", |
44 "compositor_frame_metadata.mojom", | 53 "compositor_frame_metadata.mojom", |
45 "copy_output_request.mojom", | 54 "copy_output_request.mojom", |
46 "copy_output_result.mojom", | 55 "copy_output_result.mojom", |
47 "filter_operation.mojom", | 56 "filter_operation.mojom", |
48 "filter_operations.mojom", | 57 "filter_operations.mojom", |
49 "frame_sink_id.mojom", | 58 "frame_sink_id.mojom", |
50 "local_surface_id.mojom", | 59 "local_surface_id.mojom", |
51 "mojo_compositor_frame_sink.mojom", | 60 "mojo_compositor_frame_sink.mojom", |
52 "quads.mojom", | 61 "quads.mojom", |
53 "render_pass.mojom", | 62 "render_pass.mojom", |
54 "returned_resource.mojom", | 63 "returned_resource.mojom", |
55 "selection.mojom", | 64 "selection.mojom", |
56 "shared_quad_state.mojom", | 65 "shared_quad_state.mojom", |
57 "surface_id.mojom", | 66 "surface_id.mojom", |
58 "surface_info.mojom", | 67 "surface_info.mojom", |
59 "surface_reference.mojom", | 68 "surface_reference.mojom", |
60 "surface_sequence.mojom", | 69 "surface_sequence.mojom", |
61 "texture_mailbox.mojom", | 70 "texture_mailbox.mojom", |
62 "transferable_resource.mojom", | 71 "transferable_resource.mojom", |
63 ] | 72 ] |
64 | 73 |
65 public_deps = [ | 74 public_deps = [ |
75 "//cc/ipc:texture_mailbox_releaser_interface", | |
66 "//gpu/ipc/common:interfaces", | 76 "//gpu/ipc/common:interfaces", |
67 "//mojo/common:common_custom_types", | 77 "//mojo/common:common_custom_types", |
68 "//skia/public/interfaces", | 78 "//skia/public/interfaces", |
69 "//ui/events/mojo:interfaces", | 79 "//ui/events/mojo:interfaces", |
70 "//ui/gfx/geometry/mojo", | 80 "//ui/gfx/geometry/mojo", |
71 "//ui/gfx/mojo", | 81 "//ui/gfx/mojo", |
72 ] | 82 ] |
73 } | 83 } |
74 | 84 |
75 # Interfaces between two privileged services. | 85 # Interfaces between two privileged services. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
123 "surface_reference_struct_traits.h", | 133 "surface_reference_struct_traits.h", |
124 "surface_sequence_struct_traits.h", | 134 "surface_sequence_struct_traits.h", |
125 "texture_mailbox_struct_traits.h", | 135 "texture_mailbox_struct_traits.h", |
126 "transferable_resource_struct_traits.cc", | 136 "transferable_resource_struct_traits.cc", |
127 "transferable_resource_struct_traits.h", | 137 "transferable_resource_struct_traits.h", |
128 ] | 138 ] |
129 public_deps = [ | 139 public_deps = [ |
130 ":interfaces_shared_cpp_sources", | 140 ":interfaces_shared_cpp_sources", |
131 "//base", | 141 "//base", |
132 "//cc", | 142 "//cc", |
143 "//cc/ipc:texture_mailbox_releaser_interface", | |
133 "//cc/surfaces:surface_id", | 144 "//cc/surfaces:surface_id", |
134 "//gpu/ipc/common:struct_traits", | 145 "//gpu/ipc/common:struct_traits", |
135 "//mojo/common:struct_traits", | 146 "//mojo/common:struct_traits", |
136 "//skia/public/interfaces", | 147 "//skia/public/interfaces", |
137 "//skia/public/interfaces:struct_traits", | 148 "//skia/public/interfaces:struct_traits", |
138 "//ui/events:events_base", | 149 "//ui/events:events_base", |
139 "//ui/events/mojo:struct_traits", | 150 "//ui/events/mojo:struct_traits", |
140 "//ui/gfx", | 151 "//ui/gfx", |
141 "//ui/gfx:selection_bound", | 152 "//ui/gfx:selection_bound", |
142 "//ui/gfx/geometry/mojo:struct_traits", | 153 "//ui/gfx/geometry/mojo:struct_traits", |
143 "//ui/gfx/mojo:mojo", | 154 "//ui/gfx/mojo:mojo", |
144 "//ui/gfx/mojo:struct_traits", | 155 "//ui/gfx/mojo:struct_traits", |
145 ] | 156 ] |
146 } | 157 } |
OLD | NEW |